{"id":14988974,"url":"https://github.com/dylanarmstrong/userscripts","last_synced_at":"2025-04-12T00:41:40.713Z","repository":{"id":138630389,"uuid":"139657223","full_name":"dylanarmstrong/userscripts","owner":"dylanarmstrong","description":"Userscripts and Userstyles","archived":false,"fork":false,"pushed_at":"2025-01-18T18:06:24.000Z","size":301,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T20:22:57.271Z","etag":null,"topics":["greasemonkey","safari","tampermonkey","userscripts","userstyles"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dylanarmstrong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-04T02:14:08.000Z","updated_at":"2025-01-18T18:06:26.000Z","dependencies_parsed_at":"2024-04-24T20:33:44.186Z","dependency_job_id":"141d29e7-0995-4167-9dd0-121f7c47dce4","html_url":"https://github.com/dylanarmstrong/userscripts","commit_stats":{"total_commits":138,"total_committers":3,"mean_commits":46.0,"dds":0.3623188405797102,"last_synced_commit":"ccb6aca50720113469f8c0c7657c94bfa433587c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanarmstrong%2Fuserscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanarmstrong%2Fuserscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanarmstrong%2Fuserscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanarmstrong%2Fuserscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanarmstrong","download_url":"https://codeload.github.com/dylanarmstrong/userscripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501960,"owners_count":21114681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greasemonkey","safari","tampermonkey","userscripts","userstyles"],"created_at":"2024-09-24T14:17:31.150Z","updated_at":"2025-04-12T00:41:40.671Z","avatar_url":"https://github.com/dylanarmstrong.png","language":"JavaScript","readme":"## Userscripts and Userstyles\n\n### Notes\n\nMy 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.\n\nFrom Sept. 2020 onwards, these are designed and being updated to work with [Userscripts](https://github.com/quoid/userscripts) instead of Tampermonkey.\n\nUserstyles are stored in the styles folder.\n\nArchived scripts are stored in archive folder.\n\n### Scripts\n\n#### ban-hn\n\nHN has really bad moderation, so this enables me to automatically hide cancerous people that I spot on there.\n\n#### chess\n\nAdd button to analyze games on lichess.org on game-over screen for chess.com\n\n#### cnbc\n\nCNBC is removing the article because of my adblocking, so double the article, it won't remove both.\n\n#### fakespot\n\nAdd fakespot link above buy box on amazon\n\n#### fanfiction\n\nModify fanfiction.net to be better. There's a customizable cors proxy url that can be used on the profile page.\nIf you change this to your own, you can view mobile favorites (without 500 limit) on the desktop.\n\n#### guardian\n\nAttempt 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.\n\n#### logic-immo\n\nFix this site so it works with adblock\n\n#### reddit-redirect\n\nRedirects www calls to old.reddit.com\n\n#### wikipedia-chess\n\nFixes chessboards on Safari wikipedia\n\n#### wikipedia-nag\n\nRemoves donation nag on wikipedia\n\n#### xenforo-popular\n\nHides unpopular stories on spacebattles / sufficientvelocity, so it's easier to go through recently updated and find good stories.\n\n#### xenforo-reactions\n\nAdds first message reaction score on alternate-history, sufficientvelocity and spacebattles.\n\n### Styles\n\n- amazon\n- bloomberg\n- chess\n- duckduckgo\n- fanfiction\n- gamepedia\n- hacker-news\n- guardian\n- lemonde\n- overflow (`overflow: auto` on body/html)\n- reddit\n- royalroad\n- speedrun\n- teddit\n- wormstorysearch\n- xenforo\n- youtube\n\n### Archived Scripts\n\n#### imgur [archived]\n\nBypass imgur login\n\n#### google-placeholder [archived]\n\nPulled in some uBlock scripts that have drop-in no-op replacements for google tracking, might cause less sites to break.\n\nThese scripts are ones I am not actively maintaining, they may continue to work.\n\n#### facebook-marketplace [archived]\n\nSort facebook marketplace by date\n\n#### facebook-marketplace-local-only [archived]\n\nRemove 'Ships to you' items from marketplace. I'm not sure this does what I want, but it's somewhat useful at the moment.\n\n#### outline [archived]\n\nOpen some outgoing links (mostly news) from HN and Reddit using the awesome [outline.com](https://outline.com) service.\n\n#### paradoxwikis [archived]\n\nAchievements page on EU4 wiki is using some new mobile style, so just delete it all and use no style. Tables are usable as-is.\n\n#### reddit-filter [archived]\n\nAdds 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.\n\n![reddit-filter screenshot](./screenshots/reddit-filter.png)\n\n#### reddit-load [archived]\n\nWhen you scroll to the bottom, load the next page of results. Compatible with reddit-filter.\n\n#### reddit-nsfw [archived]\n\nFilter all NSFW tags from appearing on any page\n\n#### reddit-override [archived]\n\nOverride 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.\n\n#### stylize [archived]\n\nAllows 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.\n\nReplaced with styles in Cascadea.\n\n```javascript\nconst csses = {\n  '((old|www)\\.)?reddit\\.com$': {\n    type: 'regex',\n    css: `\n      .subreddit {\n        border: 1px solid blue;\n      }\n    `,\n  },\n  'old.reddit.com': {\n    type: 'string',\n    css: `\n      .subreddit {\n        border: 1px solid red;\n      }\n    `,\n  },\n};\n```\n\n#### uBlock-Origin-dev-filter [archived]\n\nHides the crappy domains from DuckDuckGo \u0026 Google. PR [here](https://github.com/quenhus/uBlock-Origin-dev-filter/pull/12) for userscript output support.\n\n#### xenforo-no-fanwork [archived]\n\nRemove fanwork discussions from main user forum on sufficientvelocity\n\n#### xenforo-no-worm [archived]\n\nRemove worm stories, except from worm specific forums\n\n#### xenforo-search [archived]\n\nRemove posts from search results, only show threads\n\n#### youtube [archived]\n\nDisable youtube polymer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanarmstrong%2Fuserscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanarmstrong%2Fuserscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanarmstrong%2Fuserscripts/lists"}