I've had character deaths or (e)sports match outcomes spoiled too often. This extension prevents it from happening.
This extension provides some rudimentary protection against accidental spoilers while browsing. Current functionality includes:
- Hide the YouTube comments section until it is clicked.
- Filter out search results based on keywords.
- Run tsc build to generate js file (ctrl+shift+b or
tsc -p d:\dev\projects\spoiler-protection\tsconfig.json
). - Go to Chrome extensions.
- Click 'Load unpacked' and select this folder.
- To reload extension after update, press the reload arrow button on the extensions page.
- For each keyword for search result removal, check if it is in the search query first.
- Add enable/disable button to google (and youtube).
- I am not aware of a method to get the Google filtering to work on new tabs that use a theme (href of
chrome://new-tab-page
). - I am not aware of a method to get the Google filtering to work on the browser address bar.