Danbooru - Miscellaneous Tweaks

Adds a variety of useful tweaks to Danbooru

As of 2018-10-13. See the latest version.

Author
Mango 2
Ratings
0 0 0
Version
2018.10.13
Created
2014-07-20
Updated
2018-10-13
License
N/A
Applies to

All tweaks are disabled by default.

Settings for this script are changed by clicking the "Tweaks" link at the right end of the navbar on most pages. They persist across updates but reset for individual tweaks if their argument types change.

Functions:

  1. Add Tag Subscription: Adds pseudo tag subscriptions to your profile that refresh periodically.
  2. Arrow Key Navigation: Enables navigation to previous/next pages using the left/right keys.
  3. Blacklist: Blacklist implementation that replaces images (full and thumbnail) with links labeled with the tags they matched in the blacklist. Clicking the link/image alternates between the two. Translation notes appear every other time the image is displayed.
  4. Change +/- Links: Adds +/- tag links when the taglist doesn't have them and can also make them add/remove tags from search box instead of launching new searches.
  5. Comment Listing Filter: Hides posts and comments in the comment listing for posts with any of the specified tags. Click the replacement text/bar to reveal.
  6. Custom Taglist: Adds a new taglist section below tag lists, complete with +/- links. Tag types are supported.
  7. DText Replace: Replaces text in DText-enabled textareas and the names of all links with DText or DText-like shorthand forms. Requires experience with regexes to customize.
  8. Hide User Statistics: Hides specific statistics from profile pages depending on if it's your profile or not.
  9. Navbar Links: Adds links to the left side of the navbar and removes links from the navbar and subnavbar.
  10. Navbar Tag Search: Adds/moves the post search box to the navbar or subnavbar.
  11. Post Queue Tweaks: (Only visible to post approvers.) Adds up/down vote links, an option to automatically up/down vote depending on approval/disapproval, and options to expand thumbnails, and highlights in red posts containing any of a set of tags.
  12. Precision Time: Swaps all timestamps back to the old "X units ago" form, to a custom precision
  13. Score Comments: Displays comments' scores next to the vote links if the scores fall within the specified range.
  14. Score Thumbnails: Displays scores and favorite counts below thumbnails.
  15. Upload Tweaks: Conditionally disables parts of the Upload page (e.g. the commentary box until 'Include Commentary' is checked).


2018-10-13:

  • Fixed some thumbnails not displaying for Tag Subscriptions

2018-08-31:

  • Fixed navbar/subnavbar modifications

2018-07-30:

  • Fixed Score Thumbnails not detecting posts hidden by Blacklist
  • Fixed placement of Score Thumbnail scores
  • Fixed Blacklist links

2018-07-11:

  • Post Queue Tweaks: Made swapKey case-insensitive
  • Post Queue Tweaks: Fixed disapproval-voting
  • Blacklist/Score Comments: Fixed handling of SVG elements

2018-01-27:

  • Added "Post Queue Tweaks" (only visible to post approvers)

2017-09-09:

  • Added "Upload Tweaks"
  • "Add Tag Subscription": Force update if queries change, hide the "This feature has been disabled" message

2017-03-13:

  • Fixed Add Tag Subscriptions rejecting "subscriptions" with more queries than the total number of subscriptions
  • Fixed "Score Comments" displaying scores multiple times for each comment

2016-11-13:

  • Fixed Comment Listing Filter listing the same hidden tag multiple times
  • Removed Filter parameter from Tag Subscriptions

2015-10-30:

  • Removed Source Stat Links
  • Replaced broken "Export" settings button with a simple textarea of the raw settings
  • Fixed the Tag Subscription expand links displaying as "?" depending on the script's encoding.

2015-04-11:

  • Added Comment Listing Filter: Hides posts and comments in the comment listing for posts with any of the specified tags. Click the replacement text to reveal.

2014-10-04:

  • Added cap on recursion in JSON parser to protect against infinite loops.
  • Changed how the settings textareas grow on input.

2014-08-24:

  • Fixed minor bug in "Source Stat Links" triggered when a user changes a non-link source to link and refreshes the page without actually submitting the change

2014-07-20:

  • Fixed Score Comments when not logged in
  • Removed update checker