PDA

View Full Version : Why does nocript 1.2 block the Smugmug style?


NelsonChenPhotography
Dec-27-2007, 12:00 PM
I know this has been reported before but I would like to know the reason why the smugmug style can be blocked by noscript 1.2 Firefox addon. The other styles such as tranditional or all thumbs does not seem to be affected by the latest nocript update.

Disabling noscript is one option but that leaves Firefox unsafe. Reinstalling noscript v1.1.9.6 is my current solution.

What is noscript v1.2 doing that prevents the smugmug style from loading?

Thank you!

Andy
Dec-27-2007, 12:18 PM
Hi, I really don't know the answer to this. I don't use noscript with Firefox, anyone else? :ear

Sheaf
Dec-27-2007, 01:11 PM
Hi, I really don't know the answer to this. I don't use noscript with Firefox, anyone else? :ear

It's hard keeping up with that thing. NoScript is a bit notorious for breaking pages that have no ill intentions, as is the case here.

While we look into this, there is a quick fix if you don't mind going under the hood. In Firefox, type in "about:config" in your address bar. Look for the noscript.jsHack entry and make the string just an empty string.

NelsonChenPhotography
Dec-27-2007, 01:21 PM
It's hard keeping up with that thing. NoScript is a bit notorious for breaking pages that have no ill intentions, as is the case here.

While we look into this, there is a quick fix if you don't mind going under the hood. In Firefox, type in "about:config" in your address bar. Look for the noscript.jsHack entry and make the string just an empty string.
Under noscript 1.1.9.6, that entry does not exist.

Under noscript 1.2, the entry exists with the following value.

window.urchinTracker = function() {}

Setting it to an empty string fixed the problem!

Wow! This is the best solution!

Thank you!!!

bwg
Dec-27-2007, 03:54 PM
noscript.jsHack

the name kinda speaks for itself.

anyways, we have a work around for it and will hopefully be releasing it shortly

NelsonChenPhotography
Dec-27-2007, 06:32 PM
noscript.jsHack

the name kinda speaks for itself.

anyways, we have a work around for it and will hopefully be releasing it shortly

Are you saying that Smugmug.com will change its javascript so we can let noscript.jsHack be "window.urchinTracker = function() {}"?

If this is the case, why was jsHack() used in the first place?

bwg
Dec-27-2007, 07:50 PM
Are you saying that Smugmug.com will change its javascript so we can let noscript.jsHack be "window.urchinTracker = function() {}"?
yes, thats what we're saying. In case some other person installed the newest version of NoScript and doesnt see this thread (or the other thread on the NoScript board where this solution was initially posted).
If this is the case, why was jsHack() used in the first place?noscript.jsHack is not SmugMug code, it is NoScript code. It just happens to not play nicely with the way we handle Google Analytics.

Brett Mickelson
Dec-27-2007, 09:08 PM
When can I expect a fix on SmugMug's end for this? I don't know what effect removing the problem string from NoScript would have on other web browsing. I don't expect that it would be a big deal, but I assume it's a part of NoScript for a reason.

Sheaf
Dec-27-2007, 09:35 PM
When can I expect a fix on SmugMug's end for this? I don't know what effect removing the problem string from NoScript would have on other web browsing. I don't expect that it would be a big deal, but I assume it's a part of NoScript for a reason.

Very soon. You can always reset the setting in about:config quite easily though.

Brett Mickelson
Dec-27-2007, 10:18 PM
Very soon. You can always reset the setting in about:config quite easily though.
That's what I intend to do once the fix is released, I was just curious as to a timeline. Thanks.

bwg
Dec-27-2007, 11:02 PM
... but I assume it's a part of NoScript for a reason.judging by the name of the config 'noscript.jsHack', i'll make the assumption that the author had a hard time getting around the google analytics code using his traditional methods. It wont have any effect on sites that don't use Google Analytics, but for those that do, well, it appears to be a hack so your results may vary.

bwg
Dec-28-2007, 12:39 PM
the fix just went live. You should have no more problems with NoScript and SmugMug

Sheaf
Dec-28-2007, 12:46 PM
the fix just went live. You should have no more problems with NoScript and SmugMug

Until the next NoScript release next week. :D

bwg
Dec-28-2007, 01:04 PM
Until the next NoScript release next week. :Dhopefully our fixes are robust enough. we'll see what the next NoScript.jsHack brings.