Tracker Jacker
const BLOCK_ME = "://www.facebook.com/tr/"; | |
chrome.webRequest.onBeforeRequest.addListener( | |
function(r) { | |
return { | |
cancel: r.url.indexOf(BLOCK_ME) != -1 | |
}; | |
}, | |
{urls: ["<all_urls>"]}, | |
["blocking"] | |
); |
{ | |
"version": "1.0.1", | |
"name": "Tracker Jacker", | |
"description": "Quit sending data back to Facebook every time you touch a page with their third-party JavaScript onboard.", | |
"permissions": [ | |
"webRequest", | |
"webRequestBlocking", | |
"*://*/*" | |
], | |
"background": { | |
"scripts": ["background.js" ] | |
}, | |
"icons": { | |
"16": "icon_16.png", | |
"48": "icon_48.png", | |
"128": "icon_128.png" | |
}, | |
"content_security_policy": "script-src 'self'; object-src 'self'", | |
"manifest_version": 2 | |
} |
This comment has been minimized.
This comment has been minimized.
Icons are in the previous comment; stolen from The Noun Project, here: https://thenounproject.com/term/wasp/902714/ Why the heck GitHub lets you drag an image into a comment but not the gist itself is beyond me. |
This comment has been minimized.
This comment has been minimized.
Now up on the Chrome Web Store, here: https://chrome.google.com/webstore/detail/fidaihianbfhklachngadhjhlnbldhjm/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.