Page 1 of 1

site causes Firefox to hang when scripts are not allowed

Posted: Tue Mar 03, 2015 10:04 pm
by UsabilityDude
This page reliably causes Firefox on Mac to hang when scripts are not allowed:
http://billmoyers.com/2015/02/27/libertarian-delusion/
The site is OK if scrips are globally allowed.

Mac OSX 10.9.5 on a MacBook Pro (Intel)
Firefox v36
NoScript 2.6.9.16
I also use Ghostery for Firefox version 5.4.2

Re: site causes Firefox to hang when scripts are not allowed

Posted: Tue Mar 03, 2015 10:12 pm
by barbaz
Does disabling all extensions other than NoScript get it working? (Tools > Add-ons Manager)

Re: site causes Firefox to hang when scripts are not allowed

Posted: Tue Mar 03, 2015 11:14 pm
by UsabilityDude
Just tried disabling all extensions except NoScript. Firefox still hangs on that page.

Re: site causes Firefox to hang when scripts are not allowed

Posted: Tue Mar 03, 2015 11:24 pm
by Thrawn
It doesn't hang if you block the site itself...do you need to allow it? Actually, you just need to block cdn.billmoyers.com.

After leaving it long enough, I saw a script hang warning for

Code: Select all

http://cdn.billmoyers.com/wp-content/themes/billmoyers/libs/js/lib/idangerous.swiper.min.js?ver=1.0:15
This appears to be a JavaScript library for mobile devices, so you shouldn't need it. Blocking it with an ABE rule seems to avoid the hang:

Code: Select all

Site ^.*idangerous.swiper.*
Deny

Re: site causes Firefox to hang when scripts are not allowed

Posted: Tue Mar 03, 2015 11:39 pm
by barbaz
Thanks for that Thrawn. By "scripts blocked" I thought UsabilityDude meant "all scripts blocked".

And I was wondering why I had this sense of deja vu reading this thread...
viewtopic.php?f=8&t=20414
Thoughts on merging?

Anyway, once I reproduce the hanging I'll see if it's possible to stop the hanging with a surrogate...

Re: site causes Firefox to hang when scripts are not allowed

Posted: Wed Mar 04, 2015 1:05 am
by barbaz
OK, so it looks like you can avoid the hang by allowing the wp.com site that you get in the NoScript menu.
This script is the needed one, no idea if it's surrogateable or not.

The fact it hangs without that third-party script is just asking for trouble. What if wp.com just goes offline for some reason or they move the script without putting in a redirection?

Suggestion: point the webmaster(s) of billmoyers.com to this thread and ask them if they can find a way to host that script on billmoyers.com, because in general third-party scripts are simply not reliable enough for such strong dependencies.

Re: site causes Firefox to hang when scripts are not allowed

Posted: Wed Mar 04, 2015 6:19 pm
by UsabilityDude
Thanks for the diagnosis, and thanks so much for all your work on NoScript.