about:blocked is blocked?

Bug reports and enhancement requests
Post Reply
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

about:blocked is blocked?

Post by Alan Baxter »

NoScript blocks about:blocked when I visit http://www.mozilla.com/firefox/its-an-attack.html. I don't see any reason why it shouldn't be Allowed. Is there a reason it's not in the default whitelist?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
NoScript 1.9.9.11
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: about:blocked is blocked?

Post by Giorgio Maone »

It's not blocked, in facts. It's just not whitelisted, therefore it shows up as blocked. I'm adding it to the "mandatory" whitelist, together with about:config, about:neterror, chrome: and a few others.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: about:blocked is blocked?

Post by Alan Baxter »

Thank you.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: about:blocked is blocked?

Post by GµårÐïåñ »

That's funny. I don't have it whitelisted and it doesn't block anything. What exactly is it blocking?
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: about:blocked is blocked?

Post by Giorgio Maone »

GµårÐïåñ wrote:That's funny. I don't have it whitelisted and it doesn't block anything. What exactly is it blocking?
As I said, it's not blocking anything.
Some URLs (e.g. chrome:, about:neterror or about:blocked) are internally flagged as "safe" and don't undergo CAPS check.
Therefore Javascript works there no matter if they're whitelisted or not.
Adding them to the "mandatory" whitelist is a cosmetic enhancement, to prevent NoScript from wrongly report them as blocked and create confusion.
Another option would be check the "safe" flag at runtime, but it's too expensive performance-wise and not worth the effort.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: about:blocked is blocked?

Post by GµårÐïåñ »

Ok, gotcha. Thanks. :mrgreen:
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Post Reply