Automatically searches Danbooru for pixiv images (using the pixiv metatag) and links to any results below each image. This requires GM_xmlhttpRequest(). Login info can be entered at the top of the script to make sure you get the API limit appropriate for your user level.
[disabled by default] Adds a link to the IQDB for each image (using the base URL specified by the user), replacing the "X bookmarks" links where present.
The features can be toggled/adjusted by modifying the top of the script.
Pages utilizing the new UI (e.g. "/bookmark.php?id=" and "/member_illust.php?id=") are not supported.2018-02-01:
Fixed single images
Fixed /search and /bookmark_new_illust.php
Removed (broken) filtering based on number of favorites
Source searching is on by default
Added 'danbooruBase' option at the top of the script in case you want post links to use something other than "http://danbooru.donmai.us"
Added HTTPS @include for pixiv
For images with multiple hits on Danbooru, changed the tag search link from using the 'pixiv' metatag to using 'id'.
Compatibility fix with Pixiv Direct Link's breakBookView option if that script executes after this one.
Fixed the source search not finding images with new-style manga sample URLs when viewing mode=manga pages
Fixed for recent mode=medium changes.
Support for ugoira.
Fixed source search on mode=medium page of new manga images
Fixed IQDB/source search for new thumbnails
Added support for the ranking pages
Stopped script triggering on the ugoira daily ranking section of the main page
Split from Endless Pixiv Pages
Eliminated duplicate source search query on mode=medium pages
Drop login credential requirement for source searches; use api_key instead of password_hash
Replaced "addIQDB" with "iqdbURL" setting to specify the IQDB search to use
Favcount filter now dynamically updates the displayed/hidden thumbnails as the favcount setting is changed instead of requiring a refresh
Fixed bookmark page
Exclude novel thumbnails from source search (they weren't being handled correctly anyway)