[HANG] Firefox hangs When Visiting HKTV with NoScript on
Re: Noscript still crashes Firefox. So sad!
Please don't start multiple threads on the same problem. I also would really like to see this fixed but as said I don't know enough to figure exactly what's causing the hang, and seems no one else has looked into this enough to offer more info.
Merging with your other thread.
Probably the next thing to do would be to use Firefox's debugger (or attach Firefox as a remote debugger to SeaMonkey) on the page code, prettifying all sources and step through the page's code and see if that offers any insight.. but in order for me to do this I'd have to reproduce in a system I actually can have Firefox (meaning, Linux)...
Merging with your other thread.
Probably the next thing to do would be to use Firefox's debugger (or attach Firefox as a remote debugger to SeaMonkey) on the page code, prettifying all sources and step through the page's code and see if that offers any insight.. but in order for me to do this I'd have to reproduce in a system I actually can have Firefox (meaning, Linux)...
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1
Re: Noscript still crashes Firefox. So sad!
Argh! So sorry! I almost forget this thread. It is month old. Well I'm not sure if I should bump an old thread.barbaz wrote:Please don't start multiple threads on the same problem. I also would really like to see this fixed but as said I don't know enough to figure exactly what's causing the hang, and seems no one else has looked into this enough to offer more info.
Merging with your other thread.
Probably the next thing to do would be to use Firefox's debugger (or attach Firefox as a remote debugger to SeaMonkey) on the page code, prettifying all sources and step through the page's code and see if that offers any insight.. but in order for me to do this I'd have to reproduce in a system I actually can have Firefox (meaning, Linux)...
You know some forums hate you when you bump an old thread and ask you to open a new one.
And the question I asked is not the same this time.
Actually I'm not asking for a fix this time. Although a fix is great, I know it is not going to happen any time soon.
I'm looking for any way or method or workaround to bypass this issue.
Let's say if noscipt can be disabled automatically when we visit this site. Hmm... but how?
Maybe even with the help of some third-party tools, addons, or whatever.
I'm open to any suggestion which can help my clients. Thanks.
Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: Noscript still crashes Firefox. So sad!
No problem. We don't mind legitimate posters such as yourself bumping old threads.ReporterX wrote:Argh! So sorry! I almost forget this thread. It is month old. Well I'm not sure if I should bump an old thread.
You know some forums hate you when you bump an old thread and ask you to open a new one.
So probably the fix is some kind of surrogate script, which could be applied as a workaround, but we can't know what to put in the surrogate if we don't know what's causing the OOM crash...ReporterX wrote:Actually I'm not asking for a fix this time. Although a fix is great, I know it is not going to happen any time soon.
I'm looking for any way or method or workaround to bypass this issue.
Let's say if noscipt can be disabled automatically when we visit this site. Hmm... but how?
Maybe even with the help of some third-party tools, addons, or whatever.
I'm open to any suggestion which can help my clients. Thanks.
When I get the chance I'll try play around with it a bit, see if I can reproduce the issue on a system I can run Firefox developer edition, hopefully that will give all the needed information.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1
Re: Noscript still crashes Firefox. So sad!
Ar great! A surrogate script might be a solution.barbaz wrote:So probably the fix is some kind of surrogate script, which could be applied as a workaround, but we can't know what to put in the surrogate if we don't know what's causing the OOM crash...ReporterX wrote:Actually I'm not asking for a fix this time. Although a fix is great, I know it is not going to happen any time soon.
I'm looking for any way or method or workaround to bypass this issue.
Let's say if noscipt can be disabled automatically when we visit this site. Hmm... but how?
Maybe even with the help of some third-party tools, addons, or whatever.
I'm open to any suggestion which can help my clients. Thanks.
When I get the chance I'll try play around with it a bit, see if I can reproduce the issue on a system I can run Firefox developer edition, hopefully that will give all the needed information.
It is ok just to disable noscript (or its function) when it is on that site, if a surrogate script can do it.
I hate to see them uninstalling noscript just because of this bug.
I don't feel safe if I browse the Internet without noscript. Others should feel the same.

Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
OK what I see now is different from what I saw before... no OOM crash but I do get an 'Unresponsive script' warning in the JS file I had singled out earlier.
What if you manually add
to NoScript Options > Whitelist before visiting the site?
(in any case, jwpcdn is probably a sensible thing to add to the whitelist for newbies who want things to "just work"...)
What if you manually add
Code: Select all
jwpcdn.com
(in any case, jwpcdn is probably a sensible thing to add to the whitelist for newbies who want things to "just work"...)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
Brilliant! It fixes the crash.barbaz wrote:OK what I see now is different from what I saw before... no OOM crash but I do get an 'Unresponsive script' warning in the JS file I had singled out earlier.
What if you manually addto NoScript Options > Whitelist before visiting the site?Code: Select all
jwpcdn.com
(in any case, jwpcdn is probably a sensible thing to add to the whitelist for newbies who want things to "just work"...)

What if I want to restrict it to run on this site only?
Is this the code that I need to put it in ABE?
Code: Select all
Site .jwpcdn.com
Accept INCLUSION from .hktvmall.com
Deny INCLUSION
Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
Yay!!!ReporterX wrote:Brilliant! It fixes the crash.![]()

So that's all there is to be done, jwpcdn isn't the sort of site suitable for surrogate script.
In this case I'd recommend you not do that. jwpcdn is a commonly used video player site, and having that rule *will* break other sites - in possibly similar ways.ReporterX wrote:What if I want to restrict it to run on this site only?
Is this the code that I need to put it in ABE?Code: Select all
Site .jwpcdn.com Accept INCLUSION from .hktvmall.com Deny INCLUSION
However, if you really want to restrict jwpcdn, you'll definitely need to add .jwpcdn.com to the Accept line. Whether or not it's only hktvmall.com requesting needed jwpcdn stuff on that site, I don't know and don't have time to investigate atm. If you don't have a virtual machine to play with, you can experiment with significantly less risk of data loss on a test profile constructed as follows: completely shut down Firefox, create a new profile, exit profile manager, delete anything in the new profile directory, then copy your entire normal profile into the new profile (then use the new profile to figure the right ABE rule, copy the ABE rule to a text editor to add to your main profile, then delete the test profile).
Please let us know the result if you do this, thanks.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
This bug has to be fixed though. Not everyone reads this thread.barbaz wrote:Yay!!!ReporterX wrote:Brilliant! It fixes the crash.![]()
![]()
So that's all there is to be done, jwpcdn isn't the sort of site suitable for surrogate script.
I thought jwpcdn is a content delivery network which can be used by various subscribers, but it seems like it is actually a domain solely used by JW Player. Did I get it right?barbaz wrote:In this case I'd recommend you not do that. jwpcdn is a commonly used video player site, and having that rule *will* break other sites - in possibly similar ways.ReporterX wrote:What if I want to restrict it to run on this site only?
Is this the code that I need to put it in ABE?Code: Select all
Site .jwpcdn.com Accept INCLUSION from .hktvmall.com Deny INCLUSION
However, if you really want to restrict jwpcdn, you'll definitely need to add .jwpcdn.com to the Accept line. Whether or not it's only hktvmall.com requesting needed jwpcdn stuff on that site, I don't know and don't have time to investigate atm. If you don't have a virtual machine to play with, you can experiment with significantly less risk of data loss on a test profile constructed as follows: completely shut down Firefox, create a new profile, exit profile manager, delete anything in the new profile directory, then copy your entire normal profile into the new profile (then use the new profile to figure the right ABE rule, copy the ABE rule to a text editor to add to your main profile, then delete the test profile).
Please let us know the result if you do this, thanks.
Is there any security benefits to restrict it?
BTW I tested the ABE code above. It works. TV plays normally. No hang.

You do not need to add .jwpcdn.com to the Accept line (although it does not hurt to add it).
Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
The bug, if any, is on the site's end. NoScript is just the messenger.ReporterX wrote:This bug has to be fixed though. Not everyone reads this thread.
Yes, as far as I know.ReporterX wrote:I thought jwpcdn is a content delivery network which can be used by various subscribers, but it seems like it is actually a domain solely used by JW Player. Did I get it right?
Probably not significant with a site like that. You would however get a potential privacy benefit, when you visit sites that use jwpcdn and whose videos you *don't* want to watch.ReporterX wrote:Is there any security benefits to restrict it?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; NetBSD i386; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
As far as the site is concerned it is actually running well if you don't use Noscript. It is just we install Noscript to block the script and this crashes Firefox.barbaz wrote:The bug, if any, is on the site's end. NoScript is just the messenger.ReporterX wrote:This bug has to be fixed though. Not everyone reads this thread.

I tried another website which uses jwpcdn too. It does not crash even if I block it (although the video can't be loaded).
Then I guess it will only tracks us when I click to play the video, not when I just visit the website, right?barbaz wrote:Probably not significant with a site like that. You would however get a potential privacy benefit, when you visit sites that use jwpcdn and whose videos you *don't* want to watch.ReporterX wrote:Is there any security benefits to restrict it?
Some website will autoplay videos but I control when the Flash player should be run, so no much benefit in my case.
Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
Right but is NoScript the *only* thing that can make jwpcdn not load? What if jwpcdn goes down temporarily or is accidentally set to 0.0.0.0 in someone's hosts file?ReporterX wrote:As far as the site is concerned it is actually running well if you don't use Noscript. It is just we install Noscript to block the script and this crashes Firefox.![]()
How does the site handle errors to load jwpcdn? From the looks of it, very badly.
That's why I say it's the site's bug even though on your side, NoScript is the culprit.
jwpcdn also loads JS files. So that depends on jwpcdn's privacy policy and how much you trust what it says...ReporterX wrote:Then I guess it will only tracks us when I click to play the video, not when I just visit the website, right?barbaz wrote:Probably not significant with a site like that. You would however get a potential privacy benefit, when you visit sites that use jwpcdn and whose videos you *don't* want to watch.ReporterX wrote:Is there any security benefits to restrict it?
Some website will autoplay videos but I control when the Flash player should be run, so no much benefit in my case.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; NetBSD i386; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
I don't really know if the blocking alone crashes Firefox. To me it looks like some quirks happening when Noscript intercepts and stops that script from running (somehow mishandle?).barbaz wrote:Right but is NoScript the *only* thing that can make jwpcdn not load? What if jwpcdn goes down temporarily or is accidentally set to 0.0.0.0 in someone's hosts file?ReporterX wrote:As far as the site is concerned it is actually running well if you don't use Noscript. It is just we install Noscript to block the script and this crashes Firefox.![]()
How does the site handle errors to load jwpcdn? From the looks of it, very badly.
That's why I say it's the site's bug even though on your side, NoScript is the culprit.
It would be interesting to know if Firefox (or any other browser) still crashes if jwpcdn is blocked in another way.
Firefox 37.0.2, NoScript 2.6.9.22
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
I've got VMs to play with, I will try blocking it various ways and see how the site reactsReporterX wrote:I don't really know if the blocking alone crashes Firefox. To me it looks like some quirks happening when Noscript intercepts and stops that script from running (somehow mishandle?).
It would be interesting to know if Firefox (or any other browser) still crashes if jwpcdn is blocked in another way.

*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; NetBSD i386; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25
Re: [HANG] Firefox hangs When Visiting HKTV with NoScript on
But not that the context menu can't see it, I found it there going to the site with Scripts Globally Allowed.ReporterX wrote:Update: Temporary fix
Whitelist jwpcdn.com before you visit HKTV.
This site does not show up in the noscript context menu when you visit HKTV. It is hard to find it out.
And it will cause your browser to crash, so this bug needs to be fixed ASAP.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; NetBSD i386; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25
Re: [HANG] Firefox hangs When Visiting TV Site (*NEW QUESTIO
Done that in my Firefox testing VM - and doesn't matter how jwpcdn is blocked, same result. I tried setting it to 0.0.0.0 and using an addon that rejects requests instead of stopping them dead like nsIContentPolicy / NoScript.barbaz wrote:I've got VMs to play with, I will try blocking it various ways and see how the site reacts
So it's a problem with the site's handling of error to contact jwpcdn server (I'd like to try making the response HTTP 404 errors as well, but I don't have a safe way to test it).
Further investigation would involve debugging the unresponsive script from the warning, but my attempt to do that crashed Firefox.
If this matters enough to you, you might consider pointing the hktvmall webmasters to this thread and let them know this could happen also if jwpcdn just goes down for some reason.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; NetBSD i386; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25