https://github.com/druidblack/stash-userscripts
Collection of my Stash Userscripts
https://github.com/druidblack/stash-userscripts
stash userscript userscripts
Last synced: 5 months ago
JSON representation
Collection of my Stash Userscripts
- Host: GitHub
- URL: https://github.com/druidblack/stash-userscripts
- Owner: Druidblack
- Created: 2025-04-28T11:07:09.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-05-05T10:29:36.000Z (9 months ago)
- Last Synced: 2025-05-30T01:37:34.679Z (8 months ago)
- Topics: stash, userscript, userscripts
- Language: JavaScript
- Homepage:
- Size: 1.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stash-UserScripts

Collection of my MusicBrainz Userscripts
## Installing
To use these userscripts, you need a userscript add-on or extension such as [Tampermonkey](https://www.tampermonkey.net/), [Violentmonkey](https://violentmonkey.github.io/), or [Greasemonkey](https://addons.mozilla.org/en-GB/firefox/addon/greasemonkey/) installed in your browser. More information can be found [here](https://stackapps.com/tags/script/info), [here](https://openuserjs.org/about/Userscript-Beginners-HOWTO), or [here](https://userscripts-mirror.org/about/installing.html).
## Configuration
The @match config is only needed for userscripts: Change the // @match http://localhost:9999/* in the script header to match your server address and port.
## Stash Auto-Check With Height Priority

With one click, it selects duplicates other than the one you selected in the settings by parameters.
The script works in several stages. The script receives data about the video resolution and the codecs used when the page loads. Later, when navigating through the pages, the script can use previously received data, or you can update the page and the script will receive new data.
The script checks video resolutions based on the frame height. If you have videos that differ slightly in frame width, the script will still perceive them as having the same resolution.
The script checks the video characteristics in several stages.
1. Checks the video resolution. In this case, it leaves the video resolution that you specified by marking the rest for deletion.
2. If the videos have the same resolution, but the script will check which codec is selected as the priority.
3. If the videos are completely identical in resolution and codec, the script will select the video by the minimum or maximum bitrate.
4. If the videos are completely identical, the script will leave the first video in the group.
[](https://github.com/Druidblack/Stash-UserScripts/blob/main/stash_auto_check_with_height_priority.user.js)
[](https://github.com/Druidblack/Stash-UserScripts/raw/main/stash_auto_check_with_height_priority.user.js)
## Stash Blur

Adds an on/off blurring button to the application page and a slider to display the degree of blurring.
[](https://github.com/Druidblack/Stash-UserScripts/blob/main/stash_blur.user.js)
[](https://github.com/Druidblack/Stash-UserScripts/raw/main/stash_blur.user.js)
## Auto Delete File Button Clicker for Stash

If the video has a Scene in which several videos are combined, the script will prompt you to delete one of the files immediately (you do not need to navigate through the menu). This script was needed to simplify the deletion of identical videos, which stash combined into one scene and did not show them when searching for duplicates.
[](https://github.com/Druidblack/Stash-UserScripts/blob/main/button_clicker.user.js)
[](https://github.com/Druidblack/Stash-UserScripts/raw/main/button_clicker.user.js)
## Auto-check “Delete file”

Automatically ticks the box "Delete file (along with funscript)"
[](https://github.com/Druidblack/Stash-UserScripts/blob/main/stash_check_delete_file.user.js)
[](https://github.com/Druidblack/Stash-UserScripts/raw/main/stash_check_delete_file.user.js)