Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 868 Bytes

File metadata and controls

26 lines (16 loc) · 868 Bytes

userscripts

User scripts are a powerful tool for users to take control of their online experience and customize websites to better suit their needs.

How to use

  1. Install a userscript manager. For example, Greasemonkey

  2. Open the Extension, press "Create new Script"

  3. Copy the contents of the userscript.js file you want to add and save the file. (Ctrl + S)

Note If you don't want to automatically receive updates (from this repo), you can also just not use the userscript.js. Instead copy the header from userscript.js and add it at the top of the other file.

## Why are all functions wrapped in a IIFE (Immediately Invoked Function Expression)?

This prevents polluting the global namespace. This way we can just paste the snipped in the console over and over again, for testing.