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 / CheckRecentVersions.user.js
Last active December 30, 2020 22:20
Sets up a version page to show all new versions created afterwards by user
// ==UserScript==
// @name CheckRecentVersions
// @namespace https://gist.github.com/BrokenEagle
// @version 5.0
// @source https://danbooru.donmai.us/users/23799
// @description Setup page to check for new versions from user.
// @author BrokenEagle
// @include /^https?://\w+\.donmai\.us/[^_]+_versions(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / HighlightPostUpdate.user.js
Last active October 7, 2019 02:24
Adds additional highlighting for errors when updating posts from the post index.
// ==UserScript==
// @name HighlightPostUpdate
// @namespace https://gist.github.com/BrokenEagle
// @version 5.0
// @source https://danbooru.donmai.us/users/23799
// @description Additional highlights for update errors.
// @author BrokenEagle
// @match *://*.donmai.us/
// @include /^https?://\w+\.donmai\.us/posts(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
@BrokenEagle
BrokenEagle / ShowForumVotes.user.js
Last active October 8, 2019 02:27
Presents a link on BUR, Tag Alias, and Tag Implications to instantly navigate to all pending requests. Once there, it presents a link to show all of the forum votes available for those pending requests.
// ==UserScript==
// @name ShowForumVotes
// @namespace https://gist.github.com/BrokenEagle
// @version 3.0
// @source https://danbooru.donmai.us/users/23799
// @description Retrieve forum votes for change requests
// @author BrokenEagle
// @include /^https?://\w+\.donmai\.us/(tag_aliases|tag_implications|bulk_update_requests)(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / StylizeArtistVersions.user.js
Last active October 8, 2019 01:38
(Unsupported, see comments): Adds extra stylistic differences on artist versions in order to better segregate what happened.
// ==UserScript==
// @name StylizeArtistVersions
// @namespace https://gist.github.com/BrokenEagle
// @version 1.0
// @source https://danbooru.donmai.us/users/23799
// @description Adds extra stylistic differences on artist versions
// @author BrokenEagle
// @match *://*.donmai.us/artist_versions*
// @grant none
// @run-at document-end
@BrokenEagle
BrokenEagle / displaypostinfo.user.js
Last active October 8, 2019 01:39
(Unsupported, see comments): Display extra post information to the user. This includes the "Information" section on the post show page, and the qTip popups on the post index page.
// ==UserScript==
// @name DisplayPostInfo
// @author BrokenEagle
// @namespace https://gist.github.com/BrokenEagle
// @description Display views, uploader, and other info to the user.
// @version 5
// @match *://*.donmai.us/posts*
// @match *://*.donmai.us/users/*/edit
// @grant none
// @run-at document-end
@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
@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 / 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 / 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_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) => {