Greasy Fork is available in English.

MAM search on Goodreads

Add "Search Goodreads" button to MAM

Автор
Alistair1231
Установок в день
0
Всего установок
293
Оценки
0 0 0
Версия
0.7.9
Создан
29.04.2021
Обновлён
04.06.2023
Лицензия
Недоступно
Работает на

Adds a search on goodreads button which searches goodreads with "title author" in the following example it would be "Portland Derek Slaton"

image

Update 0.2: now supports authors like "A B Name". Goodreads expect author to be "AB Name", so I replace it in code. Example: Beast: Werewolves, Serial Killers, and Man-Eaters: The Mystery of the Monsters of the Gévaudan from Gustavo Sanchez Romero and S R Schwalb

Update 0.3: now all links are piped through dereferer.org for added security. Also ' and % get replaced in names since I am being told it breaks things! I couldn't find an example, so it wasn't tested.

Update 0.4: Fixed regex. Some names like William D Arand were shortened to WilliamD Arand.

Update 0.5: dereferer.org is down? Uses url.rw now. But old code is only commented out and I provide the possibility to use de-ref.com. Just use any of these three lines (currently 29-31 and '//' makes it a comment)

//    var dereferedUrl = "http://www.dereferer.org/?"+encodeURIComponent(mamSearchUrl);
//    var dereferedUrl = "http://de-ref.com/?"+mamSearchUrl;
    var dereferedUrl = "https://url.rw/?"+encodeURIComponent(mamSearchUrl);

Added bonus, url.rw uses https!

Update 0.6: Also added nullrefer.com and set it as default since it seems to be a popular site. I want something reliable!