Note: Goodblock is no longer supported. We recommend switching to another privacy-focused ad blocker such as uBlock Origin (Chrome, Firefox).
The ad blocker with a purpose.
Goodblock filters your ads so you only see one beautiful, charitable ad each day. By blocking ads, the Goodblock ad blocker protects your data from online trackers and loads webpages faster.
We don’t believe in "acceptable ads" that you see without consent. Instead, every day we provide one ad we think you’ll enjoy. You can choose to see it and then donate the revenue from that ad to a partnered charity, including Save the Children, Action Against Hunger and Water.org.
Learn more: https://goodblock.gladly.io/
Visit the Goodblock homepage to install.
For Chrome, you can also download Goodblock directly from the Chrome Web Store.
The Goodblock Chrome extension requires a handful of browser permissions to block ads and trackers. These permissions are similar to other extensions, including Privacy Badger, Adblock Plus, and uBlock Origin. Here's an overview of what they're used for:
- To be able to inspect all net requests so that they can be cancelled if needed.
- To hide ad containers on webpages to make pages less cluttered.
This is necessary to be able to:
- Create new tabs (when you click on a filter list, to see its content)
- To detect when a tab is added or removed:
- To update badge
- To flush from memory internal data structures
- To find out which tab is currently active (to fill popup menu with associated stats/settings)
- To be able to inject the element picker script
- To implement the popup-blocker
This is necessary to be able to:
- Disable "Prefetch resources to load pages more quickly"
- This will ensure no TCP connection is opened at all for blocked requests, preventing leakage of your IP address to untrusted remote servers.
- For pages with lots for blocked requests, this will actually remove overhead from page load (if you did not have the setting already disabled).
- See the
"privacy"
Chrome extension permission description
- Disable hyperlink auditing/beacon
- browsingData: to allow clearing the browser cache.
- contentSettings: to enable javascript for all web pages so that uMatrix can fully control execution of javascript using the
Content-Security-Policy: script-src 'none'
header directive. - cookies: to allow the removal of blocked cookies.
- privacy: for uMatrix to be able to disable the setting "Prefetch resources to load pages more quickly". This is to ensure your IP address do not leak to the remote servers of blocked network requests.
- storage: to store your own whitelist/blacklist domains/objects and all other settings.
- tabs: to enable forcing a reload of the content of a tab (when the content of the whitelist/blacklist change).
- unlimitedStorage: to allow a user to update various assets used by uMatrix (like preset blacklists, preset recipes, etc.) by fetching the latest versions from Github and saving them locally.
- webNavigation: to listen to onBeforeNavigate events in order to set up HTTPSB's internal data structure for a specific web page.
- webRequest: to allow intercepting all requests in order to inspect them.
- webRequestBlocking: to be able to block a request if the object of the request is blacklisted.
http://*/*
&https://*/*
: to be able to inspect HTTP net requests for all URLs (necessary in order to decide whether a block directive should be enforced).
We're grateful to the contributers to uBlock Origin and uBlock, who have written much of the open source code used here.
This wiki draws heavily on the work of contributers to the uBlock Origin wiki and the uMatrix wiki.
Thanks to the hundreds of people who help maintain the filter lists that power Goodblock and other ad blockers and privacy extensions.