spoiler-slayer

Spoiler Slayer: An open-source browser extension to block spoilers

View the Project on GitHub brettp/spoiler-slayer

Spoiler Slayer

Spoiler Slayer is an open source, tracking-free, simple extension for Chrome and Firefox that blocks TV and movies spoilers on your favorite sites. Subscribe in one click to public spoilers lists that always stay fresh and make sure no spoilers slip by, or use the advanced settings to fine tune which spoilers to block on what sites.

Available for Chrome and FireFox

Spoiler Slayer includes out of the box support for many popular sites including Facebook, Reddit, Twitter, Tumblr, YouTube, and Gizmodo; and it’s easy to add more.

Settings allow users to customize the blocking experience with 3 modes:

Other features include:

Permissions details

No data is sent to any 3rd party servers by this extension. Data is fetched from GitHub or GitLab when subscribed to lists, but this is not required for functionality.

Specific permissions

Screenshots

Block spoilers on your favorite sites

Pick from 3 different blocking modes

Subscribe to lists public lists to keep spoilers updated

Simple, but powerful settings let you customize blocking how you want

Use the built-in selector tester to create your own rules

Building From Source

  1. Clone the repo.
  2. Run npm install to install dependencies.
  3. Run gulp to setup watches that will automatically compile any changes you make from the src dir to the build directory.
  4. Tutorial images built by taking screenshots with Chrome at 1280x800 (2560x1600 native), then:
    1. mogrify -resize 50% *
    2. optipng *
  5. Screenshots
    1. Facebook 1.
      for (const el of document.querySelectorAll('.fbChatSidebar')) { el.remove(); }
      for (const el of document.querySelectorAll('[title=Profile]')) { el.remove(); }
      document.getElementById('u_ps_fetchstream_9_0_l').remove()
      
    2. Twitter
      1. $('[data-component-context="users_module"]').remove()
  6. Chrome:
    1. Go to the Chrome Extensions tab, click ‘Load unpacked extension’, and choose the build/chrome directory.
  7. Firefox
    1. Go to about:debugger and click Enable add-on debugging, then Load Temporary Add-on and choose any file within the build/firefox directory.
  8. Microsoft Edge
    1. Not currently supported pending Edge’s full and correct implementation of the browser extension API, HTML 5, CSS 3, and ES6.
  9. Microsoft Internet Explorer
  10. No.

Concept originally based on Game of Spoils.