Skip to content

Instantly share code, notes, and snippets.

@mortenson
Last active December 18, 2023 19:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mortenson/8cae4a190039651a6596f2f0a2e2d5c1 to your computer and use it in GitHub Desktop.
Save mortenson/8cae4a190039651a6596f2f0a2e2d5c1 to your computer and use it in GitHub Desktop.
Very simple and stupid chrome extension to block arbitrary sites
document.body.innerHTML = 'get back to work'
{
"manifest_version": 2,
"name": "dumb blocker",
"description": "made by mortenson",
"version": "0.0.1",
"content_scripts": [
{
"matches": [
"https://www.youtube.com/*"
],
"js": ["block.js"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment