https://github.com/dylanarmstrong/userscripts
Userscripts and Userstyles
https://github.com/dylanarmstrong/userscripts
greasemonkey safari tampermonkey userscripts userstyles
Last synced: 9 months ago
JSON representation
Userscripts and Userstyles
- Host: GitHub
- URL: https://github.com/dylanarmstrong/userscripts
- Owner: dylanarmstrong
- License: isc
- Created: 2018-07-04T02:14:08.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-01-18T18:06:24.000Z (about 1 year ago)
- Last Synced: 2025-03-25T20:22:57.271Z (10 months ago)
- Topics: greasemonkey, safari, tampermonkey, userscripts, userstyles
- Language: JavaScript
- Homepage:
- Size: 294 KB
- Stars: 24
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Userscripts and Userstyles
### Notes
My personal collection of userscripts. These can all be used independently of each other, so just grab the ones that sound interesting. I primarily use Safari, and haven't tested any of these in other browsers. If you run into issues, please open an issue.
From Sept. 2020 onwards, these are designed and being updated to work with [Userscripts](https://github.com/quoid/userscripts) instead of Tampermonkey.
Userstyles are stored in the styles folder.
Archived scripts are stored in archive folder.
### Scripts
#### ban-hn
HN has really bad moderation, so this enables me to automatically hide cancerous people that I spot on there.
#### chess
Add button to analyze games on lichess.org on game-over screen for chess.com
#### cnbc
CNBC is removing the article because of my adblocking, so double the article, it won't remove both.
#### fakespot
Add fakespot link above buy box on amazon
#### fanfiction
Modify fanfiction.net to be better. There's a customizable cors proxy url that can be used on the profile page.
If you change this to your own, you can view mobile favorites (without 500 limit) on the desktop.
#### guardian
Attempt to fix some of the annoyances I'm encountering on theguardian. This doesn't really work yet, but it's a first step towards pulling out content and replacing entire page.
#### logic-immo
Fix this site so it works with adblock
#### reddit-redirect
Redirects www calls to old.reddit.com
#### wikipedia-chess
Fixes chessboards on Safari wikipedia
#### wikipedia-nag
Removes donation nag on wikipedia
#### xenforo-popular
Hides unpopular stories on spacebattles / sufficientvelocity, so it's easier to go through recently updated and find good stories.
#### xenforo-reactions
Adds first message reaction score on alternate-history, sufficientvelocity and spacebattles.
### Styles
- amazon
- bloomberg
- chess
- duckduckgo
- fanfiction
- gamepedia
- hacker-news
- guardian
- lemonde
- overflow (`overflow: auto` on body/html)
- reddit
- royalroad
- speedrun
- teddit
- wormstorysearch
- xenforo
- youtube
### Archived Scripts
#### imgur [archived]
Bypass imgur login
#### google-placeholder [archived]
Pulled in some uBlock scripts that have drop-in no-op replacements for google tracking, might cause less sites to break.
These scripts are ones I am not actively maintaining, they may continue to work.
#### facebook-marketplace [archived]
Sort facebook marketplace by date
#### facebook-marketplace-local-only [archived]
Remove 'Ships to you' items from marketplace. I'm not sure this does what I want, but it's somewhat useful at the moment.
#### outline [archived]
Open some outgoing links (mostly news) from HN and Reddit using the awesome [outline.com](https://outline.com) service.
#### paradoxwikis [archived]
Achievements page on EU4 wiki is using some new mobile style, so just delete it all and use no style. Tables are usable as-is.
#### reddit-filter [archived]
Adds a filter at end of tagline that has a popup to filter on subreddit, domain, or user (only on r/all). They're stored in the localStorage keys starting with 'filter'. Filtered items must be removed from localStorage manually.

#### reddit-load [archived]
When you scroll to the bottom, load the next page of results. Compatible with reddit-filter.
#### reddit-nsfw [archived]
Filter all NSFW tags from appearing on any page
#### reddit-override [archived]
Override Reddit's official window.r functionality that _may_ be interesting, I don't really know. The isMobile method stops video pinning though, which is useful.
#### stylize [archived]
Allows me to write custom styles for websites matching hosts by string or regex. Not very user friendly and you'd be best off copying the js directly into your tampermonkey extension and ignoring updates.
Replaced with styles in Cascadea.
```javascript
const csses = {
'((old|www)\.)?reddit\.com$': {
type: 'regex',
css: `
.subreddit {
border: 1px solid blue;
}
`,
},
'old.reddit.com': {
type: 'string',
css: `
.subreddit {
border: 1px solid red;
}
`,
},
};
```
#### uBlock-Origin-dev-filter [archived]
Hides the crappy domains from DuckDuckGo & Google. PR [here](https://github.com/quenhus/uBlock-Origin-dev-filter/pull/12) for userscript output support.
#### xenforo-no-fanwork [archived]
Remove fanwork discussions from main user forum on sufficientvelocity
#### xenforo-no-worm [archived]
Remove worm stories, except from worm specific forums
#### xenforo-search [archived]
Remove posts from search results, only show threads
#### youtube [archived]
Disable youtube polymer