[Resolved] Recently Blocked Sites

Ask for help about NoScript, no registration needed to post
borilus
Posts: 4
Joined: Wed May 09, 2012 6:25 am

[Resolved] Recently Blocked Sites

Post by borilus »

Is there an option to prevent a list of recently blocked sites being logged?
I'm aware that the data can be hidden by an option under appearance but I would prefer to not have it gathered.
Boril
Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.62
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Recently Blocked Sites

Post by Tom T. »

borilus wrote:Is there an option to prevent a list of recently blocked sites being logged?
I'm aware that the data can be hidden by an option under appearance but I would prefer to not have it gathered.
Boril
May I ask why?

Many times, a function that you want will not work until you go to the "Recently Blocked Sites" menu and allow one or more.

If privacy is a concern (example: you share the machine with others), note that you can clear the Recently Blocked list at any time by clicking "Reset" at the top of that menu. Nothing is stored permanently on the hard drive in that regard, so once you close the browser, there should be no evidence of it for the next user.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/12.0
borilus
Posts: 4
Joined: Wed May 09, 2012 6:25 am

Re: Recently Blocked Sites

Post by borilus »

I prefer to set the options in Firefox to record nothing so I'd just like to do the same with Noscript.
Understand the use in trouble shooting and optimizing settings but logging could be turned back on temporarily if needed.
Aside from that I don't see why Noscript needs to log most of the sites I visit even if for just the duration of the session?

Boril
Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.62
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Recently Blocked Sites

Post by Thrawn »

borilus wrote:Aside from that I don't see why Noscript needs to log most of the sites I visit even if for just the duration of the session?
Tom T. already mentioned it: frequently NS has recently blocked something that you need to unblock. IIRC, it's possible (especially when being redirected around) that a page gets broken by something that doesn't show up as a blocked script on the current page. Going to your recently-blocked sites list is the way to fix it. It's not about logging; it's about extra flexibility.

Actually, if I were going to modify that submenu, what I'd want is a way to mark sites as Untrusted, so when I glance at it and see that NS has recently blocked trackers and such, I can ensure that I won't see them again. But the blacklist is just a convenience anyway, since I never use Scripts Globally Allowed.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
borilus
Posts: 4
Joined: Wed May 09, 2012 6:25 am

Re: Recently Blocked Sites

Post by borilus »

So my understanding now is that NS records my visits to all websites that have scripts (most) and maintains and increments that data until Firefox is closed or the the data is cleared by manual reset.

Users do not have the option to turn this behaviour off.

So my conclusion is that either I ask for an enhancement or cease to use NS if I consider this a serious concern?

Boril
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Recently Blocked Sites

Post by therube »

Try setting the preference, noscript.recentlyBlockedCount, to 0 & see what that does?
And while there, have a look at noscript.showRecentlyBlocked too? (I see there is a UI for that.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120508 Firefox/14.0a2 SeaMonkey/2.11a2
borilus
Posts: 4
Joined: Wed May 09, 2012 6:25 am

Re: Recently Blocked Sites

Post by borilus »

therube wrote:Try setting the preference, noscript.recentlyBlockedCount, to 0 & see what that does?
And while there, have a look at noscript.showRecentlyBlocked too? (I see there is a UI for that.)
Excellent. Setting the count to 0 does exactly what I wanted.

Thanks for the prompt and accurate response. I wasn't looking forward to losing NS as this is one of the great extensions.

Boril
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Recently Blocked Sites

Post by Tom T. »

borilus wrote:So my understanding now is that NS records my visits to all websites that have scripts (most) and maintains and increments that data until Firefox is closed or the the data is cleared by manual reset.
No. Not at all. No way. Nein. Nada. Zip. Zilch.

If a site is in your Whitelist or Untrusted list (Blacklist) permanently, the fact that you visited the site causes no changes or logging of any kind, because NS didn't have to do anything differently.

If you Temporarily Allow a site in NS, it remains visible in the menu, and in the Whitelist (in italics) until you either Revoke Temporary Permissions or close the browser. The Revoke is a single click on the menu. No further evidence remains.

What shows mostly in Recently Blocked: You visit example.com. It tries to run script. You decide to allow or temp-allow it.
If it then wants to run other embeddings, you may see an entry in Recently Blocked: "Allow all from http//www example.com" - meaning, allow the embeddings (Flash, IFRAME, etc.) which were NOT allowed by script permission alone. This happens when you have set NS to default-block such embeddings, and especially if you "Apply to whitelisted sites too". Still nothing permanent.

I'm glad that therube's about:config preference worked for you, but when some site is broken and you can't make it work, you may well have to change that back, reload the page, and then see what is in Recently Blocked that you may need to allow.

I think it's easier just to click Reset if it's a privacy concern, but please be reassured that those are not "logged" anywhere, in the manner in which you're afraid of. No one will get your browsing history from NoScript after you either close the browser or reset the RB.

The fact that a site is in your whitelist doesn't indicate when/last/if you visited it.

I hope this is reassuring and useful.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/12.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: [Resolved] Recently Blocked Sites

Post by barbaz »

Bump.

As I don't use the Recently Blocked Sites feature, I had noscript.recentlyBlockedCount set to 1, but apparently something, at some point, reset it to its default value of 10 without my knowledge :?: :!:

Please completely disable Recently Blocked Sites when the menu item is not selected to be shown in NoScript Options -> Appearance, so that it won't matter if the count pref resets "by itself" again.
I might even be able to take a shot at making such a patch myself.

(If this seems to be an issue unique to my setup, any insight what might be responsible for resetting only that one pref?)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (PaleMoon)
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: [Resolved] Recently Blocked Sites

Post by barbaz »

barbaz wrote:I might even be able to take a shot at making such a patch myself.
I just did, in 2.6.8.31rc1, and a quick check indicates that this is all that's needed:

Code: Select all

diff -r ./orig/components/noscriptService.js ./mod/components/noscriptService.js
5510a5511
>     if (!this.getPref("showRecentlyBlocked")) return;
Tested in SeaMonkey nightly from today's revisions.

@Giorgio?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30a1
mikep1655
Posts: 5
Joined: Thu Sep 26, 2013 3:44 pm

Re: Recently Blocked Sites

Post by mikep1655 »

Tom T. wrote:If you Temporarily Allow a site in NS, it remains visible in the menu, and in the Whitelist (in italics) until you either Revoke Temporary Permissions or close the browser.
Yes, but that means close all your FF windows, not just the one(s) where you visited the site(s) in question.

What shows mostly in Recently Blocked: You visit example.com. It tries to run script. You decide to allow or temp-allow it.
If it then wants to run other embeddings, you may see an entry in Recently Blocked: "Allow all from http//www example.com" - meaning, allow the embeddings (Flash, IFRAME, etc.) which were NOT allowed by script permission alone.
You don't have to explicitly block, allow or temporarily allow anything - if a site wanted to run 3rd-party scripts then the list of those will appear in Recently Blocked even if you ignored them to the point of not even looking at the list. And they'll remain in Recently Blocked after you leave the site and after you close the window.

This happens when you have set NS to default-block such embeddings, and especially if you "Apply to whitelisted sites too". Still nothing permanent.
Permanent enough to persist from FF PB windows into normal ones.

I suspect the problem is rooted in the persistence of the FF windows themselves. It didn't happen when start Private Browsing closed all your existing windows before opening a private one, and then closed it before re-opening them when you stopped PB. Now that PB just opens a new window in addition to the ones already open.....


I think it's easier just to click Reset if it's a privacy concern,
Yup - another manual step to remember along with revoking temporary permissions.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: [Resolved] Recently Blocked Sites

Post by barbaz »

bump
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.30a1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Resolved] Recently Blocked Sites

Post by Giorgio Maone »

Please check latest development build 2.6.8.35rc1, thank you.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: [Resolved] Recently Blocked Sites

Post by barbaz »

Thanks!

Got it from AMO though, as the link at http://noscript.net/getit#devel returns a 404...
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.30a1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Resolved] Recently Blocked Sites

Post by Giorgio Maone »

barbaz wrote:Got it from AMO though, as the link at http://noscript.net/getit#devel returns a 404...
Fixed, thanks.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Post Reply