Greasy Fork is available in English.

Open in Goodreads

Adds a button to Amazon book pages to redirect to Goodreads page based on ASIN/ISBN

< Відгуки до Open in Goodreads

Question/comment

§
Опубліковано: 31.10.2024

The latest update seems to make the button visible on all amazon product pages & not just books pages. Just wanted to check and see if some simple fix to this can be arranged...

SirGryphinАвтор
§
Опубліковано: 31.10.2024

Reverted back to old code and just added MutationObserver so button shows. Then I noticed even older version was showing button on non-book pages. So I added a check for Publisher Date before button is shown. This seems to be easiest way to only show button on Book pages. Let me know if you have any other problems.

§
Опубліковано: 01.11.2024

Its working good now with one caveat. I explicitly need to change this part `// @match https://*.amazon.*/*` to `// @match https://*.amazon.com/*` for the button to start appearing in the first hand. Probably due to @match not supporting such a scenario (https://github.com/Tampermonkey/tampermonkey/issues/1878)

SirGryphinАвтор
§
Опубліковано: 01.11.2024

Changed and update code back to how it was before with multiple domains listed. I use ViolentMonkey and it worked find on that. Hope this helps.

§
Опубліковано: 01.11.2024

All good now:)

Опублікувати відповідь

Sign in to post a reply.