NoScript prevents video player from loading on a site

Ask for help about NoScript, no registration needed to post
CrazyDog10

NoScript prevents video player from loading on a site

Post by CrazyDog10 »

Windows 7 x64
Firefox 31b8
NoScript 2.6.8.33

http://www1.watchop.com/watch/one-piece-episode-634-english-subbed/

Steps to reproduce:
1. Start with a fresh profile.
2. Install NoScript and restart Firefox.
3. Once Firefox has restarted, select the 'Allow Scripts Globally' option.
4. Load the URL above.

What happens:
Notice that there is a big black block in the middle of the screen where the video player should be since it's not loading.

What should happen:
There should be a video player in the black box.

To prove that the problem is NoScript's, now disable NoScript and restart Firefox and to load the same page again. The video player now loads properly in the middle of the screen. It seems that this website recently changed the video player they use, as it was working fine a few days ago just allowing a few site scripts to get it to load. Unfortunately, the new player seems to trigger a bug in NoScript preventing it from loading.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
User avatar
Giorgio Maone
Site Admin
Posts: 9530
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript prevents video player from loading on a site

Post by Giorgio Maone »

For some reason that escapes my understanding, they're serving JavaScript files with a .jsx file extension and the wrong content-type header (application/octet-stream), something that NoScript blocks to prevent generic user-managed file repositories to be used as JavaScript malware repositories:
NoScript wrote: [NoScript] Blocking cross-site Javascript served from http://cdn.directvid.com/fun3.jsx with wrong type info application/octet-stream and included by http://online.watchop.com/s/flownew_plu ... 2805543465
In this case, I think it's safe to add "cdn.directvid.com/*.jsx" to the noscript.inclusionTypeChecking.exceptions about:config preference, whose value becomes

Code: Select all

https://scache.vzw.com/ http://cache.vzw.com .sony-europe.com .amazonaws.com lesscss.googlecode.com/files/ .hp-ww.com .yandex.st cdn.directvid.com/*.jsx
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript prevents video player from loading on a site

Post by Thrawn »

======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0
version X

Re: NoScript prevents video player from loading on a site

Post by version X »

I'm having a similar problem with video playing on another site. I think something was introduced with the last Noscript update that is causing this as the website ( http://www.naruget.net/watch/1207-narut ... isode-367/ ), which has been working fine until then. I know it is Noscript because if I disable the extension the video works fine. Noscript is set to global allow for site. Previous time I visited the site was last week Thursday with no issues, but today can't play videos unless Noscript is disabled. Any suggestions?
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
User avatar
Giorgio Maone
Site Admin
Posts: 9530
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript prevents video player from loading on a site

Post by Giorgio Maone »

version X wrote: I think something was introduced with the last Noscript update
Not at all, it's a royal f*up introduced by the website.
version X wrote:Any suggestions?
Just two comments above in this thread.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
CrazyDog10

Re: NoScript prevents video player from loading on a site

Post by CrazyDog10 »

Thanks for the help, Giorgio. That fix worked perfectly for the site I was having the problems with. :mrgreen:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Karl Napf

Re: NoScript prevents video player from loading on a site

Post by Karl Napf »

Hello

I followed your post but it does not work.
Instead of playing a video I just see a black square.
Nothing works. very disappointing.

also links do not work with noscript anymore.

so I might have to look for an alternative :(
Mozilla/5.0 (Windows NT 6.1; rv:30.0) Gecko/20100101 Firefox/30.0
User avatar
Giorgio Maone
Site Admin
Posts: 9530
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript prevents video player from loading on a site

Post by Giorgio Maone »

Karl Napf wrote: I followed your post but it does not work.
Instead of playing a video I just see a black square.
Nothing works. very disappointing.

also links do not work with noscript anymore.
You don't even mention on which website and what script sources you've tried to allow to make it work...
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Guest

Re: NoScript prevents video player from loading on a site

Post by Guest »

Giorgio Maone wrote:
Karl Napf wrote: I followed your post but it does not work.
Instead of playing a video I just see a black square.
Nothing works. very disappointing.

also links do not work with noscript anymore.
You don't even mention on which website and what script sources you've tried to allow to make it work...
I'm guessing that either he messed up somewhere with executing the workaround or he's got something else mixed in with his issue. Both of the mentioned websites are "birds of feather" and that one exception seems to work for all of them.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Guest

Re: NoScript prevents video player from loading on a site

Post by Guest »

What I'd like to know is why NoScript does things like this even when you've told it the site is trusted. It's very annoying.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
User avatar
Giorgio Maone
Site Admin
Posts: 9530
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript prevents video player from loading on a site

Post by Giorgio Maone »

Guest wrote:What I'd like to know is why NoScript does things like this even when you've told it the site is trusted. It's very annoying.
It's exactly because you've told it the site is trusted and allowed to run JavaScript: since the JavaScript file in question is not served with the correct type, and therefore it's been potentially planted into the website by a 3rd party, NoScript blocks it because it could be not actually what you've chosen to trust.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript prevents video player from loading on a site

Post by Thrawn »

Sometimes, trusting a site that is badly written can be as bad as trusting a site that's actually malicious...
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0
Nissemus

Re: NoScript prevents video player from loading on a site

Post by Nissemus »

Could there not be a menu option to just turn NoScript off completely for a specific site? Like "Ignore this site"?
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
barbaz
Senior Member
Posts: 11110
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript prevents video player from loading on a site

Post by barbaz »

You shouldn't trust any website that much ;)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript prevents video player from loading on a site

Post by Thrawn »

What would be nice is this or this.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
Post Reply