Page 1 of 1

2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Tue Dec 13, 2016 12:13 am
by long
I'm using 2.9.5.2 with a release candidate of Seamonkey 2.46 and Firefox 50.0.2. Somewhere between version 2..9.0.14 and 2.9.5.2 of noscript the 'Add "www." and ".com" to the location if a web page is not found' of Seamonkey was broken. In Firefox this configuration is all buried in about:config so there is no particular name for it that I am aware of. When 2.9.5.2 is enabled and I type 'intel' in the location bar I get the typical "Address Not Found" page instead of my expected behaviour of having www.intel.com show up. If I disable 2.9.5.2 then my expected behaviour returns.

You should be able to recreate this in seamonkey by going into Preferences then Browser -> Location Bar. Check the 'Add ".www" and ".com"...' option and uncheck the 'Perform a web search...' option in the Unknown Locations section. Then enter intel in the location bar and see what happens.

In Firefox start with a fresh profile. In about:config set "keyword.enabled" to false. At that point entering intel in the location bar should get you to www.intel.com. If you then install noscript 2.9.5.2 it will stop working.


I see nothing in the Error Console when I reproduce the problem.

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Wed Dec 14, 2016 5:55 am
by Thrawn
Hmm. I would assume that the replacement happens in chrome: code, so I'm not sure why it would break.

Personally, I've always found that feature to be much more of a hindrance than a help. But perhaps that's because I'm a developer, accustomed to using one-word hostnames.

Can you determine the exact version that introduced the bug?

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Wed Dec 14, 2016 4:08 pm
by therube
Confirmed.

SeaMonkey 2.46
NoScript 2.9.5.2rc5

> "intel"

Tries to load, "http://intel/"
Rather the, http://www.intel.com/


Assuming I'm looking correctly (not necessarily a good assumption), I'm not even seeing where it is making a Network request at all?


Status bar shows, "Looking up intel...", for a moment, until the "Address Not Found" message comes up, but seems it doesn't actually even attempt the "look up".

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Wed Dec 14, 2016 4:25 pm
by therube
In FF 50, seems you need:

browser.fixup.alternate.enabled;true
browser.fixup.dns_first_for_single_words;true
keyword.enabled;false

With that, Location bar entry of "intel" loads www.intel.com.

Add NoScript 2.9.5.2 into the mix, & it no longer works.

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Fri Dec 16, 2016 10:42 pm
by long
Anyone know where I can download old versions to see which version broke it?

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Sat Dec 17, 2016 2:50 am
by barbaz

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Thu Dec 22, 2016 4:21 pm
by barbaz
Split the off-topic Guest post to viewtopic.php?f=7&t=22432.

Re: 2.9.5.2 breaks 'Add "www." and ".com" to the location

Posted: Fri Dec 23, 2016 10:52 pm
by long
After testing it appears that something changed in Firefox between 48.0.2 and 49.0 that causes this problem. So it isn't a noscript version problem it's a problem with how noscript interacts with newer versions of Firefox.