Open in Goodreads

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

< Обсуждения Open in Goodreads

Отзыв: Плохой — скрипт не работает

Is this still working for you?

I do not see the link on this page https://www.amazon.com/dp/1957932104/

Sorry didn't get notified of comment. Are you still having problems? I know I update script awhile back because amazon changed layout. Let me know if it's still not working and I will sort it. Link provided works fine for me.

I am still having issues, but it might be tampermonkey, as the script does not get triggered on the above page.


As in, it is not listed as a script to run on the page :-(

I have tested new insatlls of both stable and beta tampermonkey, install this script and then go to the above page. It does not show as active on/for the page.

SirGryphinАвтор
§
Создано: 25.04.2024
Отредактировано: 25.04.2024

So I use ViolentMonkey, so I installed Tampermonkey and for some reason it doesn't like // @match *://*.amazon.*/* to find amazon. So if you go to dashboard and click on script then when it opens editor click settings and add user matche https://*.amazon.com/* it will work.

I might update script soon but to get it to work with tampermonkey but it means I will have to add a @match for every amazon link e.g .co.uk, .com etc.


Thanks, that worked.

I might update script soon but to get it to work with tampermonkey but it means I will have to add a @match for every amazon link e.g .co.uk, .com etc.

You should be able to use amazon.tld as a replacement rather than adding every domain.

https://stackoverflow.com/questions/34219217/how-to-match-any-top-level-domain-in-tempermonkey

@include has deprecation warning saying not as safe. Now most people use @match. I've decided to stick to the safer option and just add all supported domains for amazon it only a few more lines of code and won't slow anything down.

Ответить

Войдите, чтобы ответить.