MAM search on Goodreads

Add "Search Goodreads" button to MAM

Skapare
Alistair1231
Dagliga installationer
0
Totala installationer
293
Betyg
0 0 0
Version
0.7.9
Skapad
2021-04-29
Uppdaterad
2023-06-04
Licens
N/A
Gäller för

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!