Skip to content

Instantly share code, notes, and snippets.

@ericksoa
Created March 20, 2023 01:35
Show Gist options
  • Select an option

  • Save ericksoa/efa774dbdeca66486531a360a9276516 to your computer and use it in GitHub Desktop.

Select an option

Save ericksoa/efa774dbdeca66486531a360a9276516 to your computer and use it in GitHub Desktop.
Twitter Regex Blocker Chrome Plugin - manifest.json
{
"manifest_version": 2,
"name": "Twitter Regex Filter",
"version": "1.0",
"description": "Hides tweets containing text that matches a given regex pattern.",
"permissions": ["https://twitter.com/*"],
"content_scripts": [
{
"matches": ["https://twitter.com/*"],
"js": ["content.js"],
"css": ["style.css"]
}
],
"icons": {
"48": "icon.png"
},
"browser_action": {
"default_icon": "icon.png"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment