Page 2 of 4

Re: Firefox freezes when loading most pages on The Guardian

Posted: Mon Jun 05, 2017 11:13 am
by barbaz
vmac wrote:same here with this website: https://www.tripadvisor.de/Hotel_Review ... Kinki.html
I can reproduce the hang on this link. Firefox 53.0.3, NoScript 5.0.6rc4

In my case the XSS filter does filter an XSS attempt on bluekai, but an exception for that doesn't help. No hang if I disable the XSS filter entirely.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Sun Jun 11, 2017 8:54 pm
by spv
Looks like there might be something in your facebook.net observation.

My environment:
Firefox 53.0.3
NoScript 5.0.6rc4

Scripts Allowed on theguardian.com.

Several pages have been hanging for me on theguardian.com, but many are live update pages so their content is probably too dynamic to be useful for diagnosis. However one of them is https://www.theguardian.com/crosswords/cryptic/27218 which is unlikely to change over time (except visitor comments).

If I have scripts Allowed for facebook.net, that page hangs Firefox a few seconds after loading.
If I Forbid scripts from facebook.net (not even marking it as Untrusted), the page loads without hanging.

Perhaps not surprisingly, if I Forbid scripts from theguardian.com (and Allow from facebook.net), the page loads without hanging, but only as a static page.

For now I'll Forbid scripts from facebook.net as a workaround until this is fixed.

Cheers.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Wed Jun 14, 2017 11:14 pm
by js26
barbaz wrote:@js26, vmac: Thank you for letting us know, but please note that disabling the XSS filter is not a solution! It is only a test. It's not safe for normal browsing.

When saying it works with XSS filter disabled, can you please post the console messages you get with the XSS filter enabled? Without that, we don't have enough information to help you.

Thanks

just an update, blocking facebook.net seems to fix things. have re-enabled XSS and no problems so far.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Thu Jun 15, 2017 9:51 am
by vmac
Still the same here, e.g. https://www.tripadvisor.de/Hotel_Review ... Kinki.html

Where should I block "facebook.net"?

Re: Firefox freezes when loading most pages on The Guardian

Posted: Thu Jun 15, 2017 3:56 pm
by barbaz
vmac wrote:Where should I block "facebook.net"?
viewtopic.php?p=88477#p88477

Re: Firefox freezes when loading most pages on The Guardian

Posted: Thu Jun 15, 2017 4:06 pm
by vmac
barbaz wrote:
vmac wrote:Where should I block "facebook.net"?
viewtopic.php?p=88477#p88477
Thanks. But the problem still exists.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Thu Jun 15, 2017 4:20 pm
by barbaz
vmac wrote:the problem still exists.
Yeah, it would. I think there are two separate issues going on here. One is that facebook.net script freezes the browser. The other is a bug in NoScript's XSS filter causing hanging.

Unfortunately for you, you're hitting the latter.

It is reportedly possible to work around the problem using XSS exceptions. But since the XSS filter doesn't actually take any action, it provides no information. As such, I'm not sure how to make a good workaround, sorry. :(

Re: Firefox freezes when loading most pages on The Guardian

Posted: Thu Jun 15, 2017 4:24 pm
by vmac
barbaz wrote:
vmac wrote:the problem still exists.
Yeah, it would. I think there are two separate issues going on here. One is that facebook.net script freezes the browser. The other is a bug in NoScript's XSS filter causing hanging.

Unfortunately for you, you're hitting the latter.

It is reportedly possible to work around the problem using XSS exceptions. But since the XSS filter doesn't actually take any action, it provides no information. As such, I'm not sure how to make a good workaround, sorry. :(
Nevertheless, thanks and I hope a future version of noscript will solve the problem.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Fri Jun 16, 2017 2:24 pm
by vmac
... and: more and more websites doesn't work well when noscript is active. I hope there will be an update soon.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Sun Jun 18, 2017 8:44 am
by User9347
I have the same issue.
Test page: https://www.tripadvisor.ru/Attractions- ... Hanoi.html

Adding facebook.net to Untrusted doesn't fix the issue.
Please suggest anything for me.
I need to plan my holiday :)
Image

Re: Firefox freezes when loading most pages on The Guardian

Posted: Sun Jun 18, 2017 12:36 pm
by barbaz
You could just temporarily disable the XSS filter. Not the safest work-around, but should let you use the site.
NoScript Options > Advanced > XSS, un-check both boxes

Make sure you don't do other things in the browser, and re-enable the XSS filter when done.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Sun Jun 18, 2017 8:35 pm
by User9347
Thanks. It works!
I expect a fix in future releases.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Tue Jun 20, 2017 7:13 am
by vmac
No updates since 2017/05/31 :-(

Re: Firefox freezes when loading most pages on The Guardian

Posted: Tue Jun 20, 2017 4:34 pm
by Giorgio Maone
This seems to be a regression in the XSS filter performance in face of large JSON payloads, due to the recently added protection against several attacks exploiting popular template engines.

I'm about to release a fix for it, in the meanwhile as a work-around please try adding

Code: Select all

^https?://www.facebook.com/tr/
in the NoScript Options>Advanced>XSS exceptions box.

Re: Firefox freezes when loading most pages on The Guardian

Posted: Wed Jun 21, 2017 6:21 am
by veverone
I have the same issue. Firefox freezes and I have to kill it.
This happens on most online shops I vizit (like http://www.cel.ro/ , https://www.emag.ro/, https://altex.ro/ , http://www.marketonline.ro/ ) and any other "heavy" website.