Greasy Fork is available in English.

MAM search on Goodreads

Add "Search Goodreads" button to MAM

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Alistair1231
1日のインストール数
0
累計インストール数
241
評価
0 0 0
バージョン
0.7.9
作成日
2021/04/29
更新日
2023/06/04
ライセンス
不明
対象サイト

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!