Coder Social home page Coder Social logo

userscripts's Introduction

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 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.

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.

google-placeholder

Pulled in some uBlock scripts that have drop-in no-op replacements for google tracking, might cause less sites to break.

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.

imgur

Bypass imgur login

logic-immo

Fix this site so it works with adblock

reddit-filter

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-filter screenshot

reddit-load

When you scroll to the bottom, load the next page of results. Compatible with reddit-filter.

reddit-nsfw

Filter all NSFW tags from appearing on any page

reddit-override

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.

reddit-redirect

Redirects www calls to old.reddit.com

uBlock-Origin-dev-filter

Hides the crappy domains from DuckDuckGo & Google. PR here for userscript output support.

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

These scripts are ones I am not actively maintaining, they may continue to work. If you run into an issue with them, please open an issue and I will take a look.

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 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.

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.

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;
      }
    `
  }
};

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

userscripts's People

Contributors

dylanarmstrong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

userscripts's Issues

Tampermonkey script crashes medium

Having the script enabled on https://blog.kotlin-academy.com/effective-kotlin-beta-release-bbf2e0cb9c3f triggers following error:

vendors~main.4cf1ac76.chunk.js:14 TypeError: Cannot read property 'offsetWidth' of null
    at screen.landingpages.trumpland~screen.post~screen.post.amp~screen.post.series~screen.profile~screen.s~5e114ebe.3af4e518.chunk.js:1
    at Go (vendors~main.4cf1ac76.chunk.js:96)
    at Ti (vendors~main.4cf1ac76.chunk.js:96)
    at Ai (vendors~main.4cf1ac76.chunk.js:96)
    at Qs (vendors~main.4cf1ac76.chunk.js:96)
    at Vs (vendors~main.4cf1ac76.chunk.js:96)
    at Ta (vendors~main.4cf1ac76.chunk.js:96)
    at Ea (vendors~main.4cf1ac76.chunk.js:96)
    at ga (vendors~main.4cf1ac76.chunk.js:96)
    at Ks (vendors~main.4cf1ac76.chunk.js:96)
    at Aa (vendors~main.4cf1ac76.chunk.js:96)
    at Ma (vendors~main.4cf1ac76.chunk.js:96)
    at La.render (vendors~main.4cf1ac76.chunk.js:96)
    at vendors~main.4cf1ac76.chunk.js:96
    at Ia (vendors~main.4cf1ac76.chunk.js:96)
    at Ua (vendors~main.4cf1ac76.chunk.js:96)
    at hydrate (vendors~main.4cf1ac76.chunk.js:96)
    at main.59bf7827.chunk.js:1
    at or (main.59bf7827.chunk.js:1)

Which causes whole site to crash:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.