sticky: extensions
:exclamation: ~~please try to NOT start discussions in here, start a new issue instead. ONLY use this thread to report extensions - thank you~~
Use this issue for extension announcements: new, gone-to-sh*t, recommendations for adding or dropping in the wiki list 4.1: Extensions. Stick to privacy and security related items, and do not mention legacy extensions
:small_orange_diamond: Added Web Extensions
- ... go look on the Wiki page - not listing things twice
:small_orange_diamond: Pending Web Extensions
- Negotiator | GitHub
- doesn't work (yet) full of bugs and errors - ask earthlng - worth revisiting
- Google search link fix | GitHub
- google/yandex. Personally, I use a user script called "google privacy" which has been working for years - I should find a link for it, see if it's maintained, stick in the wiki for user scripts? -Thorin
- Searchonymous2 | GitHub
- Modify Header Value
- Referer Control
- eCleaner (Forget Button) | GitHub
- NOTE: bulk clean per storage type: eg indexedDB, dom storage etc
- NOTE: Is using wrong Storage API for settings??? Requires cookies in order to access local dom.
- mHeaderControl | GitHub
- Shape Shifter | GitHub
- EditThisCookie
- History AutoDelete
- FoxyProxy
- WebAPI Manager | GitHub
- Forget Me Not | GitHub
- Luminous | GitHub - JS Events handling
- 3P Request Blocker
:small_orange_diamond: Rejected If you strongly disagree, then by all means, bring it up
- Canvas Defender
- nah - see https://github.com/ghacksuserjs/ghacks-user.js/issues/458
- VTzilla
- shitty privacy policy, you have to opt-out of scanning everything, but could be handy for some people, as long as they are aware of the privacy implications
...
FacebookTrackingRemoval barely tested here (no FB), but I trust the dev.
edit: Not interested in Extensions that pander to a single site. The adblocking and cosmetics of hiding elements can already be done (uM, uBo .. heck, even Stylus). The link clicking/tracking can also be done not that I have uber investigated it, but rules can be created I'm sure. So unless I'm missing something.. nah - Thorin
Please, I would like to submit to be added to the list, Peter Snyder add-on (WebApiManager): https://addons.mozilla.org/en-US/firefox/addon/webapi-manager/
Edit: It is already listed above in the pending section - Thorin
I know current policy for spoofing, so I'll silently keep an eye on this webext.
Edit: Godamn it - no UA rubbish - Thorin
Another suggestion, ClearURLs, Kevin Roebert:
https://addons.mozilla.org/en-US/firefox/addon/clearurls/
The main difference of this add-on, first is an open source, and second it has 65 rules against average of 13 rules of other similar adds-on.
Edit: added to the list above, and am testing it out myself - Thorin
In fact : https://addons.mozilla.org/en-US/firefox/addon/clearurls/
ClearURLs has some possible issues (all resolved now: April 2018)
- you need to set an extension permission exception for cookies in order to be able to log (must use localStorage for that) - fixed FF59+
- it has web_accessible_resources [1] which on the face of it seems ok. The log is viewed internally, not sure about the alert part. Can someone look into this?
- bit weird: the counter keeps going up and up per page - eg on reddit it blocks 2 items, then go next page and it climbs to 4 etc. It starts from scratch on a new tab+reddit etc. I'd rather have it PER page, not a running total. That way you can see if anything is blocked or not.
[1]
"web_accessible_resources": [
"siteBlockedAlert.html",
"log.html"
]
Hi, I'am the owner of ClearURLs. I want to answere your questions:
you need to set an extension permission exception for cookies in order to be able to log. It doesn't use IDB, but somehow the cookie setting blocks storage of log data
We're saving the log with the following two functions:
/**
* Function to log all activities from ClearUrls.
* Only logging when activated.
* The log is only temporary saved in the cache and will
* permanently saved with the saveLogOnClose function.
*
* @param beforeProcessing the url before the clear process
* @param afterProcessing the url after the clear process
* @param rule the rule that triggered the process
*/
function pushToLog(beforeProcessing, afterProcessing, rule)
{
if(logging)
{
log.log.push(
{
"before": beforeProcessing,
"after": afterProcessing,
"rule": rule,
"timestamp": Date.now()
}
);
}
}
/**
* This function is triggered by the event windows.onRemoved and tabs.onCreated
* and will save the log permanently to the local storage.
* We only save the log anticyclically based on performance.
*/
function saveLog()
{
if(logging)
{
browser.storage.local.get('resetLog', function(data) {
if(data.resetLog)
{
log = {"log": []}; // Delete the old log
browser.storage.local.set({"resetLog": false});
}
else
{
browser.storage.local.set({"log": JSON.stringify(log)});
}
});
}
}
We're only save a log when the user activate the logging function. From default the logging is disabled, because it is only a feature for debugging and to make suggestions for new rules.
it has web_accessible_resources [1] which on the face of it seems ok. The log is viewed internally, not sure about the alert part. Can someone look into this?
The altert part is only a html site, that inform the user, that a whole domain was blocked, because of ad-tracking, like doubleclick{dot}net.

bit weird: the counter keeps going up and up per page - eg on reddit it blocks 2 items, then go next page and it climbs to 4 etc. It starts from scratch on a new tab+reddit etc. I'd rather have it PER page, not a running total. That way you can see if anything is blocked or not.
Yeah, this is a feature-bug :P. We will change this in the next update. So the counter will counts only the blocked fields on a page, not on a tab like now.
I am available for any questions.
Thanks @KevinRoebert I am not a developer, so excuse my ignorance.
Are you using the right storage API, because a cookie permission should not be needed AFAIK. other web extensions do not have this issue storing some local non-IDB data - I guess it depends where. Yes you would need one if it were IDB - see 1406675 and the work around ( https://github.com/ghacksuserjs/ghacks-user.js/wiki/4.1.1-Setting-Extension-Permission-Exceptions ). It's not critical, because I can easily set a site permission exception on the UUID
FYI: WEs can access their own storage regardless of prefs using the storage API (+permission). 1
Although this API is similar to Window.localStorage it is recommended that you don't use Window.localStorage in extension code. Firefox will clear data stored by extensions using the localStorage API in various scenarios where users clear their browsing history and data for privacy reasons, while data saved using the storage.local API will be correctly persisted in these scenarios.
1source: @earthlng: our resident code wizard
Web Accessible Resources - see this issue for more info. The UUID which is unique to each install of a web extension, can be exploited in some cases. Other extensions do not require this for their UI popups, etc. Is it possible to do away with them. ~~AFAICT, you're not injecting or doing anything to web content, just blocking requests - right? So we should be safe (told you I am not an expert!).~~
Good to know about the counter
@KevinRoebert Here is a comment by gorhill (the dev of uBo and uMatrix) that shows you how to bypass using web accessible resources - all over my head, but there ya go :)
Edit: OK, looks like you're injecting that alert into web pages. This could be a problem. Not your fault - it's Mozilla's fault for using a UUID per install and not masking/hiding it properly
Edit: OK, looks like you're injecting that alert into web pages. This could be a problem. Not your fault - it's Mozilla's fault for using a UUID per install and not masking/hiding it properly
I do not directly injecting the alert into web pages. The progress is the following:
- ClearURLs detects a blocked domain.
- ClearURLs rewrite the asked url to
var siteBlockedAlert = browser.extension.getURL('./siteBlockedAlert.html');(the addon intern alert page). - Firefox do not visited the asked domain, firefox visited the rewritet addon intern domain.
- So the displayed url is something like that:
moz-extension://9b334143-726d-4afb-8aa4-930b025ae4b5/siteBlockedAlert.html
This is the code for the rewrite:
/*
* Cancel the Request and redirect to the site blocked alert page,
* to inform the user about the full url blocking.
*/
if(result.cancel){
return {
redirectUrl: siteBlockedAlert
};
}
And will be evaluate here on line 7:
/**
* Call by each Request and checking the url.
*
* @type {Array}
*/
browser.webRequest.onBeforeRequest.addListener(
clearUrl,
{urls: ["<all_urls>"]},
["blocking"]
);
Thanks for the info :+1: I saw an image on AMO (the third one) and to me it looked like the alert was placed in the web page in lieu of a blocked element or something - it doesn't reach the edges of the page. Sorry if the term "inject" is not correct (told ya I was a dummy) :)
Added Forget Me Not | GitHub to the list above to keep an eye on etc.
This may get closer to the all-in-one persistent storage extension I am dreaming of. Blacklist all (delete after domain no longer open), whitelist (keep), greylist (session only) etc. But it has issues due to FF limitations such as FPI, containers, PB mode, localStorage by host (FF58+) being the main ones.
It does have some extra items such as history, form data, service workers, certs, IDB - but they're listed under clear all. So far the ONLY thing cleaned by domain is cookies (and localStorage in FF58+), and you can do that with C-AD. Still, worth keeping an eye on maybe.
Nano Adblocker Beta is out, I hope someone will test it as I do.
Concerning the WebApi Manager Firefox extension in the context of sites using IndexedDB when cookies are not blocked (Issue #294), among all its features there is one which deals with that, listed in the extension's Options / Storage / Indexed Database API item: blocking it forbids sites from using IndexedDB without altering Webextensions which need it, which is interesting at least until the arrival of Firefox 59 which is announced as resolving this issue.
Does Cookie AutoDelete works now with LocalStorage on Firefox 58 that came out today?
Does Cookie AutoDelete works now with LocalStorage on Firefox 58 that came out today?
And the answer is... yes! Provided the user has checked the option in Cookie Autodelete's settings' Localstorage Cleanup (Firefox 58+)
Does Request Control still work for you guys? It looks like it stopped working for me weeks ago, even with a vanilla profile no user.js and no other extensions it doesn't do anything with it basic rules or custom rules.
Edit: Running 58.0
Request Control 1.7.1 on FF ESR 52.0 32-bit works: https://github.com/tumpio/requestcontrol/wiki/Testing-links
1.8.6 on FF57 seems to work for me: my little imdb stripper rule worked. I do know it was broken for one release about 2 months ago
@Thorin-Oakenpants would you mind to share this little imdb stripper rule?