My personal browser user scripts.
To run them first install a user script plugin in your browser:
-
Chrome: Tampermonkey (same for other Chromium based browsers)
-
Firefox: Tampermonkey or Greasemonkey
-
Vivaldi: Integrated
Then just click on the disered *.user.js
file above and click on the RAW
button on the top right of the code. The code should then be automatically caught by the plugin, asking you to install it or not. If auto-update is enabled in your plugin, you should always have the most recent script version (link to the repo provided in all scripts).
Note that not all of them are regularly updated or heavy used (some might be outdated), and that I kept things simple (for myself) meaning most scripts import a few libs that I regularly use. The latter shouldn’t be much traffic overhead due to Tampermonkey’s internal lib cache, but it might not be ideal performance wise (works for me, no plans to change this soon).
amazon-links.user.js
improves amazon shop pages.
-
Product page
-
Auto select one-time buy option (instead of default: subscription)
-
Adds a new keepa icon next to the price, and makes icon and price a link (open in new tab) the the product’s keepa price tracking page.
-
Note that the keepa page will show the default amazon region and language (top right selection) but the price information will match the correct region of the source amazon page.
-
-
Adds a new amazon icon next to the price with a direct link to the product’s page (short URL, no tracking, affiliation, etc.) e.g. for sharing.
-
Adds a new MetaReview link next to the average rating stars.
-
-
Search page
-
Replaces search result prices with links to the product’s keepa price history page.
-
Replaces search result product links with clean ones (short URL, no tracking, affiliation, etc.).
-
-
Order overview
-
Adds light green background to delivered, and orange background to open / shipped orders.
-
auto-show-forum-spoilers.user.js
automatically expands spoilers in common forums and collapsed "continue reading .." texts on patreon.com.
copy-url-on-hover.user.js
copies link/media URIs to the clipboard on mouse hover.
-
Copies link URI into clipboard when hovering over a link while holding
Alt-C
. -
Tries to copy media (image/video) URI into clipboard when hovering over an image while holding
Alt-B
. -
Shows a brief tooltip indicating that the clipboard was updated:
gerrit-tweaks.user.js
improves gerrit code review:
-
Adds additional syntax highlighting for:
-
Exit keybords
return
andthrow
-
Static method calls of Google Guava Preconditions (potential exits)
-
finanzblick-tweaks.user.js
improves Buhl Finanzblick:
-
Replaces amazon order numbers in the booking list with links to the amazon.de order history.
PROTOTYPE ONLY
image-search-tweaks.user.js
improves the google and yandex image search.
Keys | Action |
---|---|
alt-s |
Shuffle search result images [1] |
imdb-tweaks.user.js
improves imdb:
-
Enforces a dark background (a good idea with or without using Dark Reader)
-
Adds new key bindings:
Keys | Action |
---|---|
Alt-F12 |
Open script configuration (ESC to close) |
-
Makes the list more compact (default, configurable), adds hotkey
d
to toggle details:
-
Adds average season ratings (all users and own, faded in case of missing ratings):
-
Adds episode number to episode titles.
-
Changes own rating star colors
-
1-4 → light gray
-
5-6 → gray
-
7 → blue (average IMDB rating, regular star color)
-
8-9 → gold
-
10 → gold (larger star)
-
-
Adds new key bindings:
Keys | Action |
---|---|
d |
Toggle compact list mode |
[0-9] |
Navigate to season 0 to 9 (if available) |
Shift-[0-9] |
Navigate to season 10 to 19 (if available) |
[ |
Navigate to previous season (if available) |
] |
Navigate to next season (if available) |
invoke-ai-tweaks.user.js
adds some tweaks to https://invoke-ai.github.io/InvokeAI/
-
Batch run mode with sampler selection, custom prompts, and prompt snippets.
-
Adds new key bindings:
Keys | Action |
---|---|
b |
Open batch invocation configuration dialog |
-
Open the dialog via the new hotkeys.
-
Optionally enter multiple prompt lines and/or up to five random value sets:
-
With the optional random iteration multiplier for each combination of prompt and sampler additional random variations (invocations) can be generated, x for every base combination.
-
Start the batch run by pressing the
Batch Invoke
button which will set the samplers plus replace / substitute the prompt, with the optional prompt lines and random sets, one at a time (all combinations) and press theInvoke
button afterwards: -
A tooltip will show updates while the batch run is in progress:
-
When the run is finished, or the dialog is opened again (stopping the batch run), the original prompt will be restored:
jenkins-tweaks.user.js
improves Jenkins:
openproject-tweaks.user.js
improves OpenProjects by adding thinks like:
-
Highlights the user’s own name (automatically detected).
-
Highlights issue priority, status, and type (tracker).
-
Highlights [tags] and *bold* in issue subjects.
-
Allows adding of additoinal custom styles (substitute text fragments via generic regex search mechanism).
search-hotkey.user.js
adds the alt-f
hotkey to some pages for faster searching (focus search input field).
Currently supported pages:
-
https://fandom.com - entertainment & gaming wikis
streaming-tweaks.user.js
improves the user experience of some streaming services.
Improvements to the Netflix web player:
-
Automatically skips the intro (where supported).
-
Automatically skips to the next episode (in closing credits view).
-
Adds new key bindings:
Keys | Action |
---|---|
Shift-Right |
Fast-forward 1min |
Shift-Left |
Rewind 1min |
Ctrl-Right |
Fast-forward 10min |
Ctrl-Left |
Rewind 10min |
. (period) |
Next episode |
Alt-F12 |
Open script configuration (ESC to close) |
-
Configuration for:
-
Auto-skip intro and outro/to next episode (default: true)
-
Improvements to Amazon’s prime video web player:
-
Automatically skips the intro (where supported).
-
Automatically skips to the next episode (in closing credits view).
-
Automatically skips ads / trailers (upfront & between episodes).
-
Adds new key bindings:
Keys | Action |
---|---|
Shift-Right |
Fast-forward 1min |
Shift-Left |
Rewind 1min |
Ctrl-Right |
Fast-forward 10min |
Ctrl-Left |
Rewind 10min |
. (period) |
Next episode |
Alt-F12 |
Open script configuration (ESC to close) |
-
Configuration for:
-
Auto-skip intro and outro/to next episode (default: true)
-
Auto-skip ads (default: true)
-
Note: If this doesn’t work please check the include. Script is currently only in case URL matches /^https?://(www|smile)\.amazon\.(de|com)/gp/video/
. Depending on how you reach the player, the /gp/video/
might be missing in the URL.
Improvements to YouTube:
-
Adds new key bindings:
Keys | Action |
---|---|
Shift-Right |
Fast-forward 1min |
Shift-Left |
Rewind 1min |
Ctrl-Right |
Fast-forward 10min |
Ctrl-Left |
Rewind 10min |
. (period) |
Next video |
, (comma) |
Previous video (playlist only) |
= |
Default playback rate (1x) |
] |
Increase playback rate (up to 2x) |
[ |
Decrease playback rate (down to 0.25x) |
Shift-] |
Increase playback rate max (2x) |
Shift-[ |
Decrease playback rate min (0.25x) |
U |
Toggle thumb up |
D |
Toggle thumb down |
Shift-[ |
Decrease playback rate min (0.25x) |
Alt-F12 |
Open script configuration (ESC to close) |
-
Configuration for:
-
Default playback rate (default: 1x)
-
Stop auto-playback (stop playback when page opens, default: true)
-
Improvements to the Disney+ web player:
-
Adds new key bindings:
Keys | Action |
---|---|
Shift-Right |
Fast-forward 1min |
Shift-Left |
Rewind 1min |
Ctrl-Right |
Fast-forward 10min |
Ctrl-Left |
Rewind 10min |
F |
Toggle fullscreen |
S |
Skip intro/outro (if auto-skip is off) |
BACKSPACE |
Exit player |
Alt-F12 |
Open script configuration (ESC to close) |
-
Configuration for:
-
Auto-skip intro and outro/to next episode (default: true)
-
Improvements to the Plex web player:
-
Adds new key bindings:
Keys | Action |
---|---|
Shift-Right |
Fast-forward 1min |
Shift-Left |
Rewind 1min |
Ctrl-Right |
Fast-forward 10min |
Ctrl-Left |
Rewind 10min |
F |
Toggle fullscreen |
M |
Toggle mute |
BACKSPACE |
Exit player |
Alt-F12 |
Open script configuration (ESC to close) |
Improvements to Spotify:
-
Adds new key bindings:
Keys | Action |
---|---|
. (period) |
Next track |
, (comma) |
Previous track (if any) |
r |
Switch Repeat Mode [All, Single, Off] (playlist only) |
s |
Toggle Shuffle (playlist only) |
/ |
Open search |
Improvements to TradingView:
-
Adds new key bindings:
Keys | Action |
---|---|
Alt-1 to 0 |
Click favorite quick access timeframe buttons 1 to 10 |
Alt-f |
Toggle footer pane (Pine Editor, Strategy Tester, etc.) |
Alt-Shift-f |
Toggle footer pane maximization |
Alt-w |
Toggle Watch List (right pane) |
Common libs and resources used in some of the of my scripts.
File | Description |
---|---|
Some common JS used in my user scripts. |
|
Some common CSS used in my user scripts. |
|
Just some code snippets, notes, etc. that can be helpful while developing user scripts. |
-
Q: Why are the hotkeys (sometimes) not working as expected?
-
A: Most of these scripts disable hotkeys while an input field is in focus (e.g. cursor in YouTube search field while playing video) to prevent accidental hotkey execution while typing. Check if this is the case (e.g. click onto the player first to focus it).
-