Skip to content

Commit

Permalink
Merge pull request #32 from dot-gov/patch-1
Browse files Browse the repository at this point in the history
fix bookmarklet
  • Loading branch information
networkException authored Oct 23, 2024
2 parents 728aed5 + 48b8c3f commit 9b8a2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This URL can be accessed directly by CLI utilities like `curl` and `wget`, but i
* Right click anywhere to select 'Add new Bookmark'. Copy the following into the URL field:

```javascript
javascript:location.href='https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion='+(navigator.appVersion.match(/Chrome\/(\S+)/)[1])+'&x=id%'+'3D'+(document.querySelector('a[href^="./detail"]').pathname.match(/[^\/]+\/*$/)[0])+'%'+'26installsource%'+'3Dondemand%'+'26uc';
javascript:location.href='https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion='+(navigator.appVersion.match(/Chrome\/(\S+)/)[1])+'&x=id%'+'3D'+(document.querySelector('a[href^="./detail"][href$="/report"]').pathname.match(/([^\/]+)\/report$/)[1])+'%'+'26installsource%'+'3Dondemand%'+'26uc';
```

Then, go to the extension page in the Chrome Web Store and click on the bookmark.
Expand Down

0 comments on commit 9b8a2c2

Please sign in to comment.