From 48b8c3feaeb202d4984f59528dbde26796ed9b8e Mon Sep 17 00:00:00 2001 From: dot-gov Date: Sun, 13 Oct 2024 08:50:05 +0000 Subject: [PATCH] fix bookmarklet The chrome web store changed their url structure again. --- faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq.md b/faq.md index 3b8daa6..e335ab4 100644 --- a/faq.md +++ b/faq.md @@ -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.