Better Danbooru Artist Search

Improve URL handling within the Danbooru artist search engine and automatically navigate to the wiki page if indubitable.

As of 2017-02-03. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v3.8.0 2019-07-19 Imported from URL
  • v3.8.0 2019-07-19 Imported from URL
  • v3.8.0 2019-07-19 Imported from URL
  • v3.7.0 2017-07-28 Imported from URL
  • v3.6.3 2017-07-12 Imported from URL
  • v3.6.3 2017-07-11 Imported from URL
  • v3.6.2 2017-05-03 Increased version number. Use the correct (zenith rather than "first", as of the latest update to Danbooru) element for the `artists_list`.
  • v3.6.1 2017-04-15 Increased version number. Only add wildcards if there are no results.
  • v3.6.0 2017-04-12 Increased version number. Optionally try searching with wildcards if search returned no results.
  • v3.5.3 2017-04-12 Increased version number. Properly detect domain endings (fixed regex by escaping periods).
  • v3.5.2 2017-03-13 Increased version number. Shorten URL properly to '.com' by using `lastIndexOf` instead of `search` method. Clearly log when site is mobile on Nico Nico Seiga.
  • v3.5.1 2017-02-25 Increased version number. Fixed mobile detection of Twitter. Removed useless commented code.
  • v3.5.0 2017-02-25 Increased version number. Detect and strip the more URL query string rather than specifically "?p=s" for Twitter URLs.
  • v3.4.0 2017-02-20 Increased version number. Detect and strip additional URL query string value pairs (ampersand key equals value) for Pixiv URLs (might employ this feature for all other URLs someday...).
  • v3.3.0 2017-02-13 Increased version number. Refined understanding of changelog verb tenses. Detect DeviantArt image pages and shorten into artist page URLs. Use 'else if' when viable.
  • v3.2.1 2017-02-04 Increment version number. Add more logging. Remove some if statements.
  • v3.2.0 2017-02-03 Increment version number. Add '{ARTIST}'s works' detection for Pixiv. Update 'Additional info'.
  • v3.1.0 2017-01-28 Increment version number. Add more logging. Replace document.location with window.location.href. Update search engine.
  • v3.0.0 2017-01-27 Increment version number drastically. Change back to if statements, as switch was acting up.
  • v2.3.6 2017-01-27 Increment version number. Add stupid braces. Python is a better language, stylistically speaking.
  • v2.3.5 2017-01-27 Increment version number. Add more and more bad logging. Am perplexed.
  • v2.3.4 2017-01-27 Increment version number. Add more bad logging.
  • v2.3.3 2017-01-27 Increment version number. Add bad logging.
  • v2.3.2 2017-01-09 Increased version number. Fixed mobile niconico seiga support again??
  • v2.3.1 2017-01-09 Increased version number. Fixed mobile niconico seiga support??
  • v2.3.0 2017-01-09 Increased version number. Added conversion support for mobile version of niconico seiga. Simplified search engine URL.
  • v2.2.5 2017-01-07 Increased version number. Changed @match to only match the search page, and not the artist page.
  • v2.2.4 2017-01-07 Increased version number. Simplified check for whether query is a url.
  • v2.2.3 2016-12-28 Increased version number. Added https detection.
  • v2.2.2 2016-12-27 Increased version number. Improved (?) descriptions and renamed script to better (?) reflect its function.
  • v2.2.1 2016-12-08 Finally learnt how to properly version (MAJOR.MINOR.PATCH where MAJOR is for backwards-incompatible changes, MINOR is new compatible features and PATCH is bug fixes). Also fixed the switch statement so that it actually works, and included /*falls through*/ comments so JSHint stops bothering me.
  • v2.2.0 2016-12-08 Replaced nested ifs with switch statement, replaced is_edited for old_query !== query, fixed indentation and twitter status check.
  • v2.0.0 2016-12-04 Changed the version number haphazardly, removed some redundant comments, added a redundant comment, and most importantly, added functionality to automatically go to the artist if there is only one.
  • v1.5 2016-12-01 Added support for custom urls, fixed code line length and indentation, and optimised a check
  • v1.4 2016-11-27 Added namespace.
  • v1.4 2016-11-27
  • v1.3 2016-11-27
  • v1.2 2016-11-27