A home for various UserScripts that have been written by anons
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
gg1234 3d81466108 Add twitter-remove-shit.user.js 3 months ago
.gitignore Add .gitignore 5 months ago
4chan-x-show-page-in-title.user.js Add 4chan-x-show-page-in-title.user.js 5 months ago
LICENSE Initial commit 5 months ago
README.md Add twitter-remove-shit.user.js 3 months ago
arch-wiki-old-layout.user.js Add arch-wiki-old-layout.user.js 5 months ago
bring-the-snow-back.user.js Add bring-the-snow-back.user.js 5 months ago
desuarchive-deleted-highlighter.user.js Add desuarchive-{deleted,ghost}-highlighter 5 months ago
desuarchive-ghost-highlighter.user.js Add desuarchive-{deleted,ghost}-highlighter 5 months ago
endchan-embed-pastebin.user.js Add endchan-embed-pastebin.user.js 5 months ago
filter-1pbtid.user.js Add 1PBTID filtering script 4 months ago
gelbooru-keyboard-controls.user.js Add gelbooru-keyboard-controls.user.js 5 months ago
gelbooru-md5.user.js Reindent 5 months ago
hacker-news-filter.user.js Add hacker-news-filter.user.js 5 months ago
hljs-on-g.user.js Add hljs-on-g.user.js 5 months ago
nyaa-search.user.js Add nyaa-search.user.js 5 months ago
remove-holiday-stuff.user.js Add remove-holiday-stuff.user.js 5 months ago
twitter-remove-shit.user.js Add twitter-remove-shit.user.js 3 months ago
vndb-auto-reveal-nsfw.user.js Add vndb-auto-reveal-nsfw.user.js 3 months ago
youtube-remove-covid.user.js Add youtube-remove-covid.user.js 4 months ago

README.md

UserScripts

  • This is a home for various UserScripts that have been written by anons.
  • They're often distributed in pastebins and forgotten as threads disappear.
  • Hosting them here gives them a longer life and makes them slightly easier to install.

Prerequisites

Before you do anything, make sure you have a UserScript manager like ViolentMonkey installed.

Installation

  • From the list below, click on the *.user.js you want to install.
  • Your UserScript manager should prompt you for confirmation that you want to install the script.

Scripts

NOTE - When you see "I" from here on, it's the anon who wrote the script, not me.

2022-03-21 vndb-auto-reveal-nsfw.user.js

>>>/endchan/cumg/169

hacked together a tiny userscript to automatically reveal nsfw covers on vndb if anyone's interested: https://dpaste.com/9DPDUJWJM

It does exactly what it claims. Test it out by visiting vndb.org/v25964.

2022-03-10 filter-1pbtid.user.js

>>>/g/85982700

Can someone help me by telling me how, or give me a reference where I can figure out how to block 1pbtid (one post by this ID) particularly in /pol/??

>>>/g/85996940

This script filters threads on /pol/ and /biz/ with 1 pbtid with a tunable threshold for the minimum required number of replies to trigger. This triggers automatically on page load and index refresh, and is coupled with 4chanX's refresh mechanism, and thus, 4chanX is a dependency and this runs only on the catalog view.

2022-03-10 twitter-remove-shit.user.js

>>>/g/86000195

It's mostly making sites more usable like twatter

The code for this script reminded me that browsers have access to XPath queries. Appreciators of fine coding will want to take a look inside. It's well written and shows good understanding of browser tech.

2022-03-02 youtube-remove-covid.user.js

>>>/g/85892063

This stuff is so satanic and unsettling..... I can't stand looking at it. Is there a userscript or plugin that blocks the Jewtube Covid-19 News shit they force onto the mainpage every time you go to it?

Waiting for a kind anon to post this for me, because I was banned.

Using uBlock Origin's content filters can also solve this problem.

2022-02-12 arch-wiki-old-layout.user.js

>>>/g/85633217

This makes the Arch Linux Wiki use its old layout. It brings back a left sidebar with many useful links.

2022-02-12 remove-holiday-stuff.user.js

>>>/g/85646643

This removes the snow effect and hats from 4chan.

2022-02-12 bring-the-snow-back.user.js

>>>/g/85633067

This overlays a falling snow effect on 4chan.

2022-02-04 4chan-x-show-page-in-title.user.js

>>>/g/85524234

Since it's a 4chanx thread, a while ago I made a script that shows page number in the document title

NOTE - This makes it so that you can scan your browser tabs and see what page each 4chan thread is on. This script requires 4chan X

2022-01-25 hljs-on-g.user.js

>>>/g/85390508

I posted this script a while back to highlight code blocks better (particularly Lisp code). I updated it to work on Greasemonkey and Tampermonkey. It's not necessary, but it works better when you state the language before the code block. https://bpa.st/POCA

It should highlight these samples appropriately.

NOTE - It supports highlighting for the following languages: bash, c, cpp, csharp, css, diff, go, ini, java, javascript, json, kotlin, lua, makefile, xml, markdown, objectivec, perl, php, php-template, plaintext, python, r, ruby, rust, scss, shell, sql, swift, typescript, vbnet, yaml, clojure, haskell, lisp, scheme.

2022-01-23 gelbooru-keyboard-controls.user.js

>>>/endchan/cumg/157

I wrote a userscript for gelbooru, so I can move around and open images with the keyboard, to enhance my cooming™ experience. Any feedback is welcome

NOTE - It supports arrow keys, WASD, and HJKL style movement on gelbooru.

2022-01-23 nyaa-search.user.js

>>>/endchan/cumg/67

Here's a Greasemonkey script I wrote that lets you search for a DL Site game on Nyaa in case you're an H game addict like me:

NOTE - When you're on a product page at DLsite, it will add a button that says "Nyaa Search".

2022-01-23 endchan-embed-pastebin.user.js

>>>/endchan/cumg/33

I made a userscript for use on endchan /cumg/ to embed pastebins directly on the page like 4chan does. In the future, maybe we could embed more things beyond pastebin.

2022-01-22 hacker-news-filter.user.js

>>>/g/85340900

Like Hacker News but don't like the leftist drivel? Use this greasemonkey script. Problem solved. I tried to put it on pastebin but it got flagged for "offensive words" so I put it on controlc. You're welcome

https://controlc.com/27db3607

nb4 can't handle bants

If you don't want the filter then move along

XXX - The way this script hides comments can make the flow of conversation very confusing. There might be a counter response that seemingly comes out of nowhere, because the comment that it's responding to was filtered out by this script. Instead of using display:none; maybe the comment could be de-emphasized in a way that preserves thread hierarchy.

2022-01-19 desuarchive-ghost-highlighter.user.js

>>>/g/85299812

NOTE - Highlight ghost posts in desuarchive.

2022-01-19 desuarchive-deleted-highlighter.user.js

>>>/g/85299812

NOTE - Highlight deleted posts in desuarchive.

2022-01-18 gelbooru-md5.user.js

>>>/g/85287959

Here's a script to display the MD5 and fake GUID on Gelbooru pages for convenience:

(code omitted)

Contributing

If you want a script added to this repo, create an issue or pull request here.