Page 1 of 1

Everything allowed, still some functions blocked

Posted: Thu Jun 23, 2011 7:13 pm
by bur
On a site I'm using quite often you can execute a function by pressing a button. Pressing it starts this javascript code via onClick:

Code: Select all

onclick="javascript:marker = window.open('', 'marker', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=50,left = 50,top = 50'); document.visit.action='discover.php'; document.visit.target='marker'; document.visit.submit();"
This should open a new window with a specifically crafted URL. For some reason when NoScript is active this doesn't happen. Enabling "temporarily allow this site everything" (crude translation from german ;)) doesn't help. Neither does allowing all scripts globally. Only disabling the addon makes this script work again.

It worked a while ago though. I don't know if the site was changed or NoScript. I'm using the newest development build rc8.

Re: Everything allowed, still some functions blocked

Posted: Thu Jun 23, 2011 7:48 pm
by dhouwn
Please give us some more info that might help:
  • Only on latest nightly you were apparently using when writing this post?
  • Are you using any other extensions? Might they be involved?
  • Any related output in the error console?
  • Could you give us a link to the site?

Re: Everything allowed, still some functions blocked

Posted: Thu Jun 23, 2011 8:29 pm
by bur
Only on latest nightly you were apparently using when writing this post?
Yes, I didn't try any other Firefox builds yet as I thought it might be just a simple setting in NoScript.
Are you using any other extensions? Might they be involved?
I disabled all of them and then re-enabled and tried the site and the problem only occures when NoScript is active. Even if it's the only add-on.
Any related output in the error console?
While loading the site: Warning: Error processing the value of 'filter'. Declaration ignored. Source: http://minemap.golbarg.fr/index.php Row: 88
Could you give us a link to the site?
Unfortunately the site requires registration. And it's not public registration since it's a site regarding a flash game. In the strange case someone here actually is registered: http://minemap.golbarg.fr ;)

I could post the source of the specific page though. According to NoScript only external scripts are from googleanalytics/syndication.

Re: Everything allowed, still some functions blocked

Posted: Thu Jun 23, 2011 8:35 pm
by Giorgio Maone
bur wrote:[
I could post the source of the specific page though.
Please do it.

Re: Everything allowed, still some functions blocked

Posted: Sat Jun 25, 2011 9:37 am
by bur
http://pastebin.com/zdFny0qZ

The javascript in question in in row 2263 and 2264.

All the scripts in this form won't work but the first one (2257/58).

Re: Everything allowed, still some functions blocked

Posted: Sat Jun 25, 2011 1:49 pm
by Giorgio Maone
It works here.
Could you try using NoScript Options|Reset, then rechecking?

Re: Everything allowed, still some functions blocked

Posted: Sat Jun 25, 2011 7:27 pm
by bur
Still not working. Since it's been working a couple of days ago and still is working for you I'm pretty sure it's to do with the nightly I'm using.

Re: Everything allowed, still some functions blocked

Posted: Sat Jun 25, 2011 8:37 pm
by Giorgio Maone
bur wrote:Still not working. Since it's been working a couple of days ago and still is working for you I'm pretty sure it's to do with the nightly I'm using.
If so, could you check latest development build? It works around a known bug in current nightlies which interferes with popups.

Re: Everything allowed, still some functions blocked

Posted: Sun Jun 26, 2011 9:16 am
by bur
It works now, sorry I could have thought of that myself... Thanks.