Howto remove unwanted donate button in NS UI
Posted: Wed Jan 26, 2011 5:48 pm
NoScript is a good tool that shouldn't have to exist, and only does so because of the shortcomings of Mozilla's browsers. Shortcomings that exist because Google are the biggest funders of Mozilla, and so shape Mozilla's products to be what Google would like: advert delivery frameworks.
And unfortunately NoScript takes advantage of this shortcoming, and by default allows javascript from some advertisers, and the author's website. And NS sends users to the author's website on every (frequent) update, where the current and past versions of NoScript, along with all sorts of browser info, is recorded. This of course could be cross referenced with the data determined about users from the ABE IP thing, and sold on. Or not sold by the author, copied by malicious hackers and sold by them instead.
Cue the standard response: you can turn those options off, blah blah....
Well shit, if that's the case, why put them in in the first place? Oh, is it because you know as well as I do that most users will not change default options? By that logic, Google aren't a privacy threat when they are the default service providers in the Mozilla browsers, and the Chromium one.
And I think you had to be prompted to add the option to turn off being sent to your adverts page on updates. For some time it was a hidden option (behind the Mozilla dragon warning, enough to put some users off changing things, and so could not escape the adverts).
Anyway, I do not tolerate software nagging me. I have never paid for a single piece of shareware as the technique in the days of that was to cripple the program, and nag the user. NoScript isn't as bad as some shareware, but when it enables some advertisers (the author's business partners), and has nags on addons.mozilla.org when you go to install NS, on the NoScript homepage (including being sent there on every update, by default), it phones home at least on every run of the browser, and there is a donate button within NoScript, it is too much.
So this is how to remove the Donate button in NoScipt
Browse to the equivalent of /RANDOM.default/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}/chrome in your file manager.
Unzip the file noscript.jar
Open the following files in a text editor, and edit the quoted sections at the mentioned line numbers:
content/noscript/noscriptOptions.xul:80:
Delete this
content/noscript/noscript.js:95-98:
Delete this
content/noscript/noscriptOptions.js:131:
Change
to
content/noscript/noscriptOptions.js:135-138:
Delete this
BTW, I am even more contemptuous with advert based industries, like the commercial media. It is just that it is much harder to get them to listen, and much harder to influence their users - unless of course you just delete this thread. Censorship is always the cowards way out. You ask for money, and set things up so there are adverts too. Fuck off, you greedy cunt. I would say the same to Rupert Murdoch given a chance too: there is no way I would pay for his TV services (or similar from other commercial entities), because they contain adverts. But lots of people do, and so the market offers what most people will tolerate. But they passively just accept that, yet if large sections of the market thought about it, they might realise what a shitty deal it is. This is my way of making people think about how having to suffer ads, and pay for things (or even be nagged), is actually a shitty deal.
No doubt you justify the nagging for money because NoScript take up a lot of your time? Well, perhaps if it wasn't suffering from some kind of serious feature creep, it wouldn't take up so much time. NS started life as a very good idea, but it is slowly morphing into some kind of security suite for Firefox. Just because Windows is a shower of shit and needs tons of security software so the user can protect themselves from themselves, does not mean NS has to follow the same philosophy. Stick to the UNIX philosophy of doing 1 thing, and 1 thing well, and if you think NS needs another feature, perhaps just create a separate extension?
And on the external filters page, you cannot delete the sites I am not interested in: hulu.com and youtube.com. I presume you took money from them to be white listed? I mean, they are major commercial internet sites, and they will not want to not be able to spy on their users, they won't want to have to face increased support costs with NoScript users, etc..
And unfortunately NoScript takes advantage of this shortcoming, and by default allows javascript from some advertisers, and the author's website. And NS sends users to the author's website on every (frequent) update, where the current and past versions of NoScript, along with all sorts of browser info, is recorded. This of course could be cross referenced with the data determined about users from the ABE IP thing, and sold on. Or not sold by the author, copied by malicious hackers and sold by them instead.
Cue the standard response: you can turn those options off, blah blah....
Well shit, if that's the case, why put them in in the first place? Oh, is it because you know as well as I do that most users will not change default options? By that logic, Google aren't a privacy threat when they are the default service providers in the Mozilla browsers, and the Chromium one.
And I think you had to be prompted to add the option to turn off being sent to your adverts page on updates. For some time it was a hidden option (behind the Mozilla dragon warning, enough to put some users off changing things, and so could not escape the adverts).
Anyway, I do not tolerate software nagging me. I have never paid for a single piece of shareware as the technique in the days of that was to cripple the program, and nag the user. NoScript isn't as bad as some shareware, but when it enables some advertisers (the author's business partners), and has nags on addons.mozilla.org when you go to install NS, on the NoScript homepage (including being sent there on every update, by default), it phones home at least on every run of the browser, and there is a donate button within NoScript, it is too much.
So this is how to remove the Donate button in NoScipt
Browse to the equivalent of /RANDOM.default/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}/chrome in your file manager.
Unzip the file noscript.jar
Open the following files in a text editor, and edit the quoted sections at the mentioned line numbers:
content/noscript/noscriptOptions.xul:80:
Delete this
Code: Select all
<button id="donateButton" label="&noscriptDonate;" accesskey="&noscriptDonate.accesskey;" hidden="true" oncommand="nsopt.donate();" />
Delete this
Code: Select all
openDonate: function(src) {
this.browse("https://secure.informaction.com/donate/?id=noscript&src=" + src);
},
Change
Code: Select all
this.utils.moveButtonsDown("donateButton", "", "importConfButton", "exportConfButton");
Code: Select all
this.utils.moveButtonsDown("importConfButton", "exportConfButton");
Delete this
Code: Select all
donate: function() {
noscriptUtil.openDonate("options");
},
No doubt you justify the nagging for money because NoScript take up a lot of your time? Well, perhaps if it wasn't suffering from some kind of serious feature creep, it wouldn't take up so much time. NS started life as a very good idea, but it is slowly morphing into some kind of security suite for Firefox. Just because Windows is a shower of shit and needs tons of security software so the user can protect themselves from themselves, does not mean NS has to follow the same philosophy. Stick to the UNIX philosophy of doing 1 thing, and 1 thing well, and if you think NS needs another feature, perhaps just create a separate extension?
And on the external filters page, you cannot delete the sites I am not interested in: hulu.com and youtube.com. I presume you took money from them to be white listed? I mean, they are major commercial internet sites, and they will not want to not be able to spy on their users, they won't want to have to face increased support costs with NoScript users, etc..