OLD NoScript 1.1.4, bookmarks and places friendly

Talk about add-ons and extension development.
Post Reply
Alan Baxter
Posts: 4419
Joined: May 30th, 2005, 2:01 pm
Location: Colorado, USA

Post by Alan Baxter »

bhe2g1 wrote:Hi Giorgio, is there a pref that can be set that will disable the "refresh all tabs" that happens when toggling between allow and disallow of JavaScript through NoScript? I'd like to keep enabled the refreshing of the current tab when changing something through NoScript. Refreshing of all tabs when toggling JavaScript can be slow going on a dial-up connection.

To be clearer I mean the allow and disallow of JavaScript globally.

What I did is uncheck "Automatically reload current page when permissions change". I then manually refresh any windows and tabs. I like having complete control of what and when the page is reloaded. Would that work for you?
jparrai
Posts: 1
Joined: July 16th, 2005, 11:33 pm

Conditionally blocking message

Post by jparrai »

There is a feature I would exceedingly like, that is, being able to block the message about blocked scripts on a per-site basis. So it'll only appear when I go to new sites, no in knows sites where I have JavaScript blocked and I know it.

Very useful extension. Thanks a lot.
bhe2g1
Posts: 31
Joined: November 17th, 2004, 12:40 pm

Post by bhe2g1 »

Alan Baxter wrote:What I did is uncheck "Automatically reload current page when permissions change". I then manually refresh any windows and tabs. I like having complete control of what and when the page is reloaded. Would that work for you?


It would work, it isn't the ideal choice for me as I do like how the current tab automatically refreshes if I change something through NoScript, but thinking about what you said it does at least stop refreshing of all tabs so I'll give it a try.
B.marc
Posts: 14
Joined: June 1st, 2005, 6:43 am

Post by B.marc »

Giorgio Maone wrote:But, are the "allowclipboard" entries still there?



My prefs.js entries look like this now:
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.allowclipboard.sites", "http://*.*.*.* http://domainname.de");
user_pref("capability.policy.default.javascript.enabled", "noAccess");
user_pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
user_pref("capability.policy.maonoscript.sites", "*.*.*.* domainname.de ... chrome: http://*.*.*.* http://domainname.de ... https://*.*.*.* https://domainname.de ... jar:");
user_pref("capability.policy.policynames", "allowclipboard maonoscript");

My user.js:
user_pref("capability.policy.allowclipboard.sites", "http://*.*.*.* http://domainname.de");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.policynames", "allowclipboard maonoscript");

So I think everything looks like you proposed?

Giorgio Maone wrote:Side note: all this mess is dued to various glitches in the Firefox core CAPS URL matching routines. I've filed a bug to fix them, and I hope to find the time ASAP...


Thanks for your work!

Smiles
Marc
Bethrezen
Posts: 445
Joined: September 13th, 2003, 11:56 am

Post by Bethrezen »

hi

I just stumbled across your extension for firefox and I have to say it seems like a good idea mozilla should incorporate it in to the next build of ff

good job

I do have one question though why are there entries on the white list I cant remove ???

for instance googlesyndication.com I'm definitely questioning why this is on the white list because far as I can make out this is a link from which google serves its text based ads

not to be rude or anything but can you tell me how to remove these items because I don't like having setting forced on me this is my computer and ill decide which sights are to be placed on the allowed list not you
User avatar
Lanik
Posts: 606
Joined: August 18th, 2003, 9:34 pm
Location: SF Bay Area, USA

Post by Lanik »

Open a new tab, type in about:config, in filter field type in "noscript.permanent" make any appropriate changes necessary.
Bethrezen
Posts: 445
Joined: September 13th, 2003, 11:56 am

Post by Bethrezen »

hi

thanks for your reply

have had a look in about config but there is 1 entry that i still cant get rid of

Chrome:

where is the setting for this entry kept

becaue it dosnt apear to be listed undre the key you mentioned
User avatar
Lanik
Posts: 606
Joined: August 18th, 2003, 9:34 pm
Location: SF Bay Area, USA

Post by Lanik »

I think that one was allowed for those extensions that bring up a chrome preferences. I don't think you can remove that one easily.
tksh
Posts: 12
Joined: November 19th, 2003, 9:24 am

Post by tksh »

Would it be possible to create a toolbar button that does pretty much the same thing as the Noscript icon in the status bar? I have my status bar hidden and sometimes, the "JavaScript current forbidden" banner at the top doesn't show even though JS is being blocked. And modifying JS permissions in this case is only possible through the statusbar.
jedbro
Posts: 1899
Joined: November 10th, 2002, 12:35 pm
Location: Mexico / Boulder Co.
Contact:

Post by jedbro »

Bethrezen wrote:hi

thanks for your reply

have had a look in about config but there is 1 entry that i still cant get rid of

Chrome:

where is the setting for this entry kept

becaue it dosnt apear to be listed undre the key you mentioned


If you *could* get rid of chrome, then you browser would cease to stop working.. not a good idea, it's stuck there for a reason.

-Jed

btw: could the title of this thread be changed? maybe something a bit more friendlier like "Make Firefox more safe" or " Rejoice...A safer Firefox today".. calling this 'a browser safer than firefox' is lame, and missleading... plus is bad rep for newbies who come to this form.
Old Makondo
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Makondo »

Agree fullheartedly!
leetsauce
Posts: 1
Joined: July 19th, 2005, 5:26 am

Post by leetsauce »

Is there a way to have NoScript work with del.icio.us?
I need to unblock the website whenever I wish to add a page to my del.icio.us bookmarks.
User avatar
Giorgio Maone
Posts: 3516
Joined: September 21st, 2004, 12:05 am
Location: Palermo - Italy
Contact:

Post by Giorgio Maone »

jedbro wrote:calling this 'a browser safer than firefox' is lame, and missleading... plus is bad rep for newbies who come to this form.

Hey, it doesnt say "IE is safer than Firefox" or "Opera is safer than Firefox".
Even more, it doesn't say "NoScript is safer than Firefox"...
It says "Firefox (with NoScript) is safer than Firefox": someone could even read this as an innuendo to "Firefox is the only browser safer than Firefox".
I can't see how it is lame, misleading or bad rep: it sounds rather ironic and funny instead, to me. But of course, being the copywriter I'm a bit biased ;)
User avatar
Giorgio Maone
Posts: 3516
Joined: September 21st, 2004, 12:05 am
Location: Palermo - Italy
Contact:

Post by Giorgio Maone »

tksh wrote:Would it be possible to create a toolbar button that does pretty much the same thing as the Noscript icon in the status bar? I have my status bar hidden and sometimes, the "JavaScript current forbidden" banner at the top doesn't show even though JS is being blocked. And modifying JS permissions in this case is only possible through the statusbar.

What about the context menu?
Anyway, I'm taking note of the toolbar button as a good suggestion for next version, thanks :)
User avatar
Giorgio Maone
Posts: 3516
Joined: September 21st, 2004, 12:05 am
Location: Palermo - Italy
Contact:

Post by Giorgio Maone »

B.marc wrote:My prefs.js entries look like this now:
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.allowclipboard.sites", "http://*.*.*.* http://domainname.de");
user_pref("capability.policy.default.javascript.enabled", "noAccess");
user_pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
user_pref("capability.policy.maonoscript.sites", "*.*.*.* domainname.de ... chrome: http://*.*.*.* http://domainname.de ... https://*.*.*.* https://domainname.de ... jar:");
user_pref("capability.policy.policynames", "allowclipboard maonoscript");

My user.js:
user_pref("capability.policy.allowclipboard.sites", "http://*.*.*.* http://domainname.de");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.policynames", "allowclipboard maonoscript");

If I understand right, the above setting your editor (and JavaScript) work but your clipboard does not.
Try this:

user_pref("capability.policy.allowclipboard.sites", "http://*.*.*.* http://domainname.de domainname.de *.*.*.* https://*.*.*.* https://domainname.de");


Entering a 2nd level domain with no protocol (e.g. domainname.de) allows its subdomains (e.g. www.domainname.de) but not the domain itself.
If you want to allow the 2nd level domain itself too, you have to add it prefixed with the protocol you will use, e.g. http://domainname.de.
This problem doesn't affect 3rd level domains and their subdomains (e.g. www.domainname.de doesn't need any protocol).

Since the CAPS machinery by which you're selectively enabling JavaScript and clipboard is the same, as a rule of thumb if JavaScript is working you can copy all the relevant sites from maonoscript.sites to allowclipboard.sites.

Good luck and let me know.
Post Reply