My Custom uBlock Origin User Scripts

Welcome to my collection of custom uBlock Origin filters and scriptlets. These scripts are designed to enhance your Browse experience by blocking additional annoyances, specific ads, or implementing custom behaviors.

How to Use These Scripts

To use these scripts with uBlock Origin, you'll need to add them to your "My filters" or "My rules" in uBlock Origin's dashboard. For scriptlets, you might need to enable "I am an advanced user" in uBlock Origin's settings and configure userResourcesLocation.

Method 1: Subscribing to a Filter List (Recommended for multiple filters)

If you have a file containing multiple filter rules (e.g., my-filters.txt), you can subscribe to it directly.

  1. Open uBlock Origin's dashboard (click the uBlock Origin icon, then the gears icon).
  2. Go to the "Filter lists" tab.
  3. Scroll down and click on "Custom", then "Import...".
  4. Enter the full URL to your filter list file (e.g., https://YOUR_USERNAME.github.io/YOUR_REPO_NAME/my-filters.txt).
  5. Click "Apply changes".

Method 2: Adding Individual Filters/Rules to "My filters"

For individual filter rules, you can add them directly to "My filters".

  1. Open uBlock Origin's dashboard.
  2. Go to the "My filters" tab.
  3. Copy and paste the desired filter rules from this repository into the text area.
  4. Click "Apply changes".

Method 3: Adding Scriptlets to userResourcesLocation (Advanced)

For JavaScript-based scriptlets (e.g., my-scriptlet.js), you'll need to configure userResourcesLocation.

  1. Open uBlock Origin's dashboard.
  2. Go to the "Settings" tab.
  3. Enable "I am an advanced user" and click the small gear icon that appears.
  4. Find the userResourcesLocation setting.
  5. If it's unset, enter the full URL to your scriptlets file (e.g., https://YOUR_USERNAME.github.io/YOUR_REPO_NAME/my-scriptlets.js). If there's already a URL, add a space after it and then your URL.
  6. Click "Apply changes".
  7. Then, in your "My filters" tab, you can call the scriptlet using syntax like:
    example.com##+js(my-scriptlet)
    (Replace my-scriptlet with the name of your scriptlet from the JS file).

My Scripts

Below is a list of my custom uBlock Origin files. Click on a link to view the raw content, which you can then use with the instructions above.

Remember to regularly check back for updates!

Disclaimer: Use these scripts at your own risk. While I aim for accuracy and safety, I cannot guarantee they will work perfectly for all use cases or that they won't interfere with website functionality.