Errors in Web Console "Not allowed to enumerate cross origin

Bug reports and enhancement requests
Post Reply
rick
Junior Member
Posts: 21
Joined: Fri Feb 03, 2012 6:02 pm

Errors in Web Console "Not allowed to enumerate cross origin

Post by rick »

Greetings & a happy new year

I've noticed the following issue:
in a fresh FF 17.0.1 profile
- install Noscript 2.6.4.2
- install Scriptish 0.1.8 or Greasemonkey 1.5
- and this script: YouTube Center

- Then visit eg. http://thefunnyvideoblog.com/
(Every script will be blocked by NoScript)

- Open Developer Toolbar (shift+F2)

You'll notice on the Web Console icon of the Developer Toolbar
that constant errors are coming for the forementioned script, all being
Error: Not allowed to enumerate cross origin objects @ youtubecenter.user.js:4407
This also causes a lot cpu usage.

Clicking "Allow all this page" in Noscript doesn't help.


The only solution is either to disable the forementioned script and reload the page
or to disable Noscript completely & restart FF.

Thank you.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
rick
Junior Member
Posts: 21
Joined: Fri Feb 03, 2012 6:02 pm

Re: Errors in Web Console "Not allowed to enumerate cross or

Post by rick »

I've also made a report in the script's discussion page
Errors in Web Console "Not allowed to enumerate cross origin objects"
and it's developer suggests that
It seems like NoScript blocks YouTube Center from accessing a necessary YouTube function.
I also added a video capture of the problem there.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Errors in Web Console "Not allowed to enumerate cross or

Post by Giorgio Maone »

rick wrote: - Then visit eg. http://thefunnyvideoblog.com/
(Every script will be blocked by NoScript)
It seems like NoScript blocks YouTube Center from accessing a necessary YouTube function.
Put the two together :)

If you don't enable scripting on the page, YouTube center won't be able to access "a necessary YouTube function" because that function has never been defined, since no script could run.
Did you try to allow scripting on that page?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
rick
Junior Member
Posts: 21
Joined: Fri Feb 03, 2012 6:02 pm

Re: Errors in Web Console "Not allowed to enumerate cross or

Post by rick »

Giorgio Maone wrote:
rick wrote: - Then visit eg. http://thefunnyvideoblog.com/
(Every script will be blocked by NoScript)
It seems like NoScript blocks YouTube Center from accessing a necessary YouTube function.
Put the two together :)

If you don't enable scripting on the page, YouTube center won't be able to access "a necessary YouTube function" because that function has never been defined, since no script could run.
Did you try to allow scripting on that page?
I write in my first post that:
Clicking "Allow all this page" in Noscript doesn't help.

The only solution is either to disable the forementioned script and reload the page
or to disable Noscript completely & restart FF.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Errors in Web Console "Not allowed to enumerate cross or

Post by Giorgio Maone »

No idea, then.
It looks like a weird interaction between CAPS and Greasemonkey's wrappers (which would grant a bug report in Bugzilla), but I'm not sure about what it takes to produce a contrived test case.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Post Reply