Skip to content

Instantly share code, notes, and snippets.

View BrokenEagle's full-sized avatar
🏠
Working from home

BrokenEagle

🏠
Working from home
View GitHub Profile
@BrokenEagle
BrokenEagle / FixEmbeddedNotes.user.js
Last active December 30, 2020 23:05
Provides fixes for embedded notes on Danbooru.
// ==UserScript==
// @name FixEmbeddedNotes
// @namespace https://gist.github.com/BrokenEagle
// @version 1.1
// @description Fixes nudge not working on rotated notes.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/posts/*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / RelatedTagPercentages.user.js
Last active January 8, 2021 21:48
Shows percentages and sample information on the related tags page.
// ==UserScript==
// @name RelatedTagPercentages
// @namespace https://gist.github.com/BrokenEagle
// @version 2.0
// @description Shows percentages on the related tag HTML interface.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match https://*.donmai.us/related_tag?*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / UploadsReport.user.js
Last active February 3, 2022 18:36
Shows all of the tag, rating, parent and source changes made to a post since it was uploaded.
// ==UserScript==
// @name UploadsReport
// @namespace https://gist.github.com/BrokenEagle
// @version 4.0
// @description Shows the tag changes made since the original upload.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/profile
// @match *://*.donmai.us/users/*
// @match *://*.donmai.us/post_versions?*
@BrokenEagle
BrokenEagle / ShowBURCounts.user.js
Last active February 25, 2020 19:05
Adds the post counts to the show page for bulk update requests. This helps with checking if the tags are large enough to justify their inclusion.
// ==UserScript==
// @name ShowBURCounts
// @namespace https://gist.github.com/BrokenEagle
// @version 1.0
// @source https://danbooru.donmai.us/users/23799
// @description Show post counts in the show view.
// @author BrokenEagle
// @include /^https?://\w+\.donmai\.us/bulk_update_requests/\d+(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / EmbeddedNotesImprovements.user.js
Last active February 2, 2020 02:26
Prototype embedded notes improvements for Danbooru.
// ==UserScript==
// @name EmbeddedNotesImprovements
// @namespace https://gist.github.com/BrokenEagle
// @version 1.7
// @source https://danbooru.donmai.us/users/23799
// @description Removes distracting styles, supports note resizing, and adjusts to background colors
// @author BrokenEagle
// @include /^https?://\w+\.donmai\.us/posts/\d+(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / pixiv_kickstart.user.js
Last active September 1, 2019 21:59
Refresh tabs that fail to lazy load upon window focus.
// ==UserScript==
// @name Pixiv Kickstart
// @version 1.1
// @description Kickstart Pixiv when it stalls.
// @match https://www.pixiv.net/*
// @downloadURL https://gist.github.com/BrokenEagle/15c7289d9191c186f5218b4a0fed1eca/raw/pixiv_kickstart.user.js
// @grant none
// ==/UserScript==
window.addEventListener('focus', (event) => {
@BrokenEagle
BrokenEagle / poolversiondiff.user.js
Last active July 22, 2019 07:32
Uses a text comparison library to better highlight the differences between versions of pool descriptions.
// ==UserScript==
// @name PoolVersionDiff
// @namespace https://gist.github.com/BrokenEagle
// @version 1
// @source https://danbooru.donmai.us/users/23799
// @description Does a better diff for pool descriptions
// @author BrokenEagle
// @match *://*.donmai.us/pool_versions/*/diff
// @grant none
// @run-at document-end
@BrokenEagle
BrokenEagle / pixiv_user_account.user.js
Last active September 3, 2019 01:40
Displays the Pixiv user name on a image post in the user section.
// ==UserScript==
// @name Pixiv User Account
// @version 2.2
// @description Display Pixiv user account
// @match https://www.pixiv.net/member_illust.php?mode=medium&illust_id=*
// @downloadURL https://gist.github.com/BrokenEagle/6f11c1b1001f193e8456d96fe62fec00/raw/pixiv_user_account.user.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @grant none
// ==/UserScript==
@BrokenEagle
BrokenEagle / IQDB_Original_Thumbnail.user.js
Last active February 21, 2022 01:06
Shows a thumbnail for the original image. Useful for those instances where no results are returned.
// ==UserScript==
// @name IQDB Original Thumbnail
// @namespace https://gist.github.com/BrokenEagle
// @version 3.0
// @source https://danbooru.donmai.us/users/23799
// @description Add the original thumbnails to the IQDB search page on Danbooru.
// @author BrokenEagle
// @include /^https?://\w+\.donmai\.us/iqdb_queries(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / Twitter_Image_Searches_and_Stuff.user.js
Last active October 8, 2019 01:40
(Unsupported, see comments): Twitter Image Searches and Stuff. Beta test before moving to the main GitHub.
// ==UserScript==
// @name Twitter Image Searches and Stuff
// @version 1.13
// @description Searches Danbooru database for tweet IDs, adds image search links, and highlights images based on Tweet favorites.
// @match https://twitter.com/*
// @downloadURL https://gist.githubusercontent.com/BrokenEagle/dd9445d7e83d136716bb742228e50259/raw/Twitter_Image_Searches_and_Stuff.user.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js
// @require https://gist.githubusercontent.com/BrokenEagle/dd9445d7e83d136716bb742228e50259/raw/qtip_tisas.js
// @require https://raw.githubusercontent.com/jeresig/jquery.hotkeys/0.2.0/jquery.hotkeys.js