Danbooru - Miscellaneous Tweaks

Adds a variety of useful tweaks to Danbooru

As of 2021-12-10. See the latest version.

Author
Mango 2
Ratings
0 0 0
Version
2021.12.10
Created
2014-07-20
Updated
2021-12-10
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. 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.
  3. 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.
  4. 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.
  5. Custom Taglist: Adds a new taglist section below tag lists, complete with +/- links. Tag types are supported.
  6. 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.
  7. Hide User Statistics: Hides specific statistics from profile pages depending on if it's your profile or not.
  8. Navbar Links: Adds links to the left side of the navbar and removes links from the navbar and subnavbar.
  9. Navbar Tag Search: Adds/moves the post search box to the navbar or subnavbar.
  10. Post Queue Tweaks: (Only visible to post approvers.) Automatically up/down vote depending on approval/disapproval, expand thumbnails in-place on click or keypress, and disapprove or highlight posts containing specific tags.
  11. Precision Time: Swaps all timestamps back to the old "X units ago" form, to a custom precision
  12. Score Thumbnails: Displays scores and favorite counts below thumbnails.


2021-12-10:

  • Post Queue Tweaks: Fixed swapping.

2021-08-13:

  • Post Queue Tweaks: sequentially load sample images if swapping is enabled, new limit parameter.

2021-03-02:

  • Post Queue Tweaks: fixed auto-voting breaking for posts with existing votes
  • Removed "Arrow Key Navigation"

2021-02-06:

  • Removed "Score Comments"
  • Fixed auto voting for Post Queue Tweaks
  • Fixed "Change +/- Links"
  • Fixed tag types for Custom Taglist

2021-01-12:

  • Fixed subscriptions containing certain characters not working
  • Fixed blacklist getting applied to your own uploads

2020-03-08:

  • Fixed Post Queue Tweaks for new layout

2020-03-01:

  • Fixed Post Queue Tweaks auto disapproval

2020-01-07:

  • Fixed Tag Subscriptions not triggering
  • Fixed Post Queue Tweaks not triggering

2019-11-06:

  • Fixed various tweaks broken by recent site updates
  • Removed Upload Tweaks
  • Post Queue Tweaks: Added "auto-reject" tag list

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