Removes Ads and the user interaction tracking from content on Facebook™

Latest Version

Version
1.13.0
Update
June 19, 2024
Size
82.48KiB
Developer
Category
Users
3,000+
Rating
4.28261 ★
Manifest Version
3
Web Store Status
Languages Support
English
Français
See more
Permissions
Alarms
DeclarativeNetRequestWithHostAccess
Scripting
Storage
WebNavigation
See more

Tracking & Ad Removal on FaceBk Extension

NOTICE: Google is making it increasingly difficult to maintain and publish extensions in their webstore, and Facebook keeps trying to take the extension down, so I may stop updating in chrome at any time. I recommend using Firefox if you want continued support, and it's better for privacy in general.
----------
\"Facebook\" and \"FB\" are registered trademarks of Facebook Inc. This extension is neither endorsed by nor affiliated with Facebook.
----------
Please report bugs at https://github.com/mgziminsky/FacebookTrackingRemoval/issues

Removes Ads and the user interaction tracking from content on Facebook™.
Modified elements can optionally have a custom CSS style applied to them so that cleaned items can be more easily identified.

For links, the event listeners on the link and its parents are removed and/or disabled and a proper href is set.

For videos on mobile, all Facebook™ event-listeners and custom controls are removed, and the video is simplified into just the bare HTML5 video tag.

PRIVACY POLICY:
I don't, and never will, collect or send any data to myself or any third parties

Explanation of permissions:
- Access to facebook.com, messenger.com, and facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion is needed for main functionality, in order to work on those pages.
- Access to mgziminsky.gitlab.io, more specifically https://mgziminsky.gitlab.io/FacebookTrackingRemoval/*, is used to download blocking rules only
- `webNavigation`: Needed to handle cleaning FB interactions that use the browser history API instead of doing a normal page navigation
- Firefox: \"Access browser activity during navigation\"
- Chrome: \"Read your browsing history\"
- This is misleading. See https://github.com/mgziminsky/FacebookTrackingRemoval/issues/67#issuecomment-1346953059


Project is completely open source, so you are welcome, and encouraged, to check the code yourself before installing.

CHANGELOG:

v1.13.0
- New option to detect ads with canvas labels (Default: Enabled)

v1.12.0
- Migrate to manifest v3
- Sorta fix some sponsored getting through. May still have a delay

v1.11.3
- Link cleaning fix for FF115+

v1.11.2
- More svg label handling adjustments

v1.11.1
- Fix for split text in svg labels

See https://github.com/mgziminsky/FacebookTrackingRemoval/blob/master/CHANGELOG for full list
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_extensionName__", "version": "1.13.0", "description": "__MSG_extensionDescription__", "default_locale": "en", "icons": { "128": "src/icon.png" }, "author": "Michael Ziminsky", "homepage_url": "https://github.com/mgziminsky/FacebookTrackingRemoval", "browser_specific_settings": { "gecko": { "id": {bb1b80be-e6b3-40a1-9b6e-9d4073343f0b}, "strict_min_version": "113.0" } }, "permissions": ["alarms", "declarativeNetRequestWithHostAccess", "scripting", "storage", "webNavigation"], "host_permissions": [ "*://*.facebook.com/*", "*://*.messenger.com/*", "*://*.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/*", "https://mgziminsky.gitlab.io/FacebookTrackingRemoval/*" ], "options_ui": { "page": "src/options/options.html", "open_in_tab": false }, "background": { "type": "module", "scripts": ["src/background/background.js"], "service_worker": "src/background/background.js" }, "action": { "default_icon": "src/icon.png", "default_popup": "src/options/options.html" }, "page_action": { "default_icon": "src/icon.png", "default_popup": "src/options/options.html", "show_matches": [ "*://*.facebook.com/*", "*://*.messenger.com/*", "*://*.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/*" ] }, "content_scripts": [ { "all_frames": true, "matches": [ "*://*.facebook.com/*", "*://*.messenger.com/*", "*://*.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/*" ], "css": ["src/content_script/app.css"], "js": ["browser-polyfill.min.js", "src/content_script/content_script.js"], "run_at": "document_end", "world": "ISOLATED" } ], "web_accessible_resources": [ { "use_dynamic_url": true, "matches": [ "*://*.facebook.com/*", "*://*.messenger.com/*", "*://*.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/*" ], "resources": ["/src/*"] } ], "declarative_net_request": { "rule_resources": [ { "id": "ruleset", "enabled": true, "path": "data/declarativeNetRequest.json" } ] }, "incognito": "spanning", "manifest_version": 3}
Read more