"Allow Full Addresses" not working properly?

Bug reports and enhancement requests
Post Reply
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

"Allow Full Addresses" not working properly?

Post by dhouwn »

I am on a site https://www.example.org which apparently dynamically includes content from the domain https://example.org and even if I configure NoScript to just show "Full Addresses (http://www.noscript.net)" in the contextual menu, it just offers me to allow "example.org" (no protocol), is this a bug?

NoScript 2.1.2.5rc1 on yesterday's Aurora build.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a2) Gecko/20110730 Firefox/7.0a2
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: "Allow Full Addresses" not working properly?

Post by therube »

(Wasn't FF dumbing down the URL line, dropping http: or something?)
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 6.1; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: "Allow Full Addresses" not working properly?

Post by Giorgio Maone »

Did you already allow https://www.example.org ?
If you did and the document "upgrades" its domain by using something like

Code: Select all

document.domain = "example.org";
then NoScript's behavior is the expected one.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: "Allow Full Addresses" not working properly?

Post by dhouwn »

First of all, the site in question is Facebook, which apparently nobody can evade joining now (just some days ago I spotted that even the garbage collection services advertise for their FB page on their trucks now :roll:).
Giorgio Maone wrote:Did you already allow https://www.example.org ?
Yes, I did.
If you did and the document "upgrades" its domain by using something like

Code: Select all

document.domain = "example.org";
Indeed it seems to do something like that:

Code: Select all

document.domain=window.location.hostname.replace(/^.*(facebook\..*)$/i,'$1')
then NoScript's behavior is the expected one.
Ah, OK. Thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a2) Gecko/20110730 Firefox/7.0a2
Post Reply