Page 1 of 1
javascript: on about:blank not working (allowURLBarJS=true)
Posted: Tue May 17, 2011 12:15 am
by al_9x
Fx 3.6.17 & 4.0.1, NS 2.1.0.5, new profile, noscript.allowURLBarJS=true
also keyworded javascript: bookmarklets executed from about:blank don't run
Re: javascript: on about:blank not working (allowURLBarJS=tr
Posted: Tue May 17, 2011 1:43 am
by therube
Re: javascript: on about:blank not working (allowURLBarJS=tr
Posted: Tue May 17, 2011 10:08 pm
by Giorgio Maone
you need noscript.allowURLBarImports = true too.
Re: javascript: on about:blank not working (allowURLBarJS=tr
Posted: Tue May 17, 2011 10:35 pm
by al_9x
Giorgio Maone wrote:you need noscript.allowURLBarImports = true too.
Ok, but can you clarify? "javascript:alert('')" doesn't import any scripts and it seems like a good idea to not allow non-trusted imports, why can't javascript: work on about:blank without allowURLBarImports=true
Re: javascript: on about:blank not working (allowURLBarJS=tr
Posted: Tue May 17, 2011 11:26 pm
by Giorgio Maone
al_9x wrote:Giorgio Maone wrote:you need noscript.allowURLBarImports = true too.
Ok, but can you clarify? "javascript:alert('')" doesn't import any scripts and it seems like a good idea to not allow non-trusted imports, why can't javascript: work on about:blank without allowURLBarImports=true
Because for a long while now the only way to execute javascript on about:blank has been allowing scripts globally (which is the same as allowing imports), don't ask me why because I couldn't figure it out.
Re: javascript: on about:blank not working (allowURLBarJS=tr
Posted: Tue May 24, 2011 10:52 pm
by al_9x
Giorgio Maone wrote:al_9x wrote:Giorgio Maone wrote:you need noscript.allowURLBarImports = true too.
Ok, but can you clarify? "javascript:alert('')" doesn't import any scripts and it seems like a good idea to not allow non-trusted imports, why can't javascript: work on about:blank without allowURLBarImports=true
Because for a long while now the only way to execute javascript on about:blank has been allowing scripts globally (which is the same as allowing imports), don't ask me why because I couldn't figure it out.
So in 2.1.0.6rc8 scripts are still globally allowed on about:blank but without needing to set allowURLBarImports?
Re: javascript: on about:blank not working (allowURLBarJS=tr
Posted: Tue May 24, 2011 11:23 pm
by Giorgio Maone
al_9x wrote:So in 2.1.0.6rc8 scripts are still globally allowed on about:blank but without needing to set allowURLBarImports?
Exactly.