noscript.allowURLBarJS

Ask for help about NoScript, no registration needed to post
antipop
Junior Member
Posts: 43
Joined: Mon Nov 26, 2012 12:47 am

noscript.allowURLBarJS

Post by antipop »

I am not a developer, and I have very little idea about what this thing is: noscript.allowURLBarJS. It seems to be causing me a bit of a problem. I have a program whose help-file opens into my default browser, Firefox. The help-file has links in it, which also are supposed to open in the browser. Normally, I would use the mouse to middle click on the link in order to open it in another tab. However, whenever I try to do that now, it opens a blank tab. When I tried copying and pasting the link in another tab, I get a popup apparently from NoScript saying this:

"javascript: and data: URIs typed or pasted in the address bar are disabled to prevent social engineering attacks. Developers can enable them for testing purposes by toggling the "noscript.allowURLBarJS" preference."

Not being a developer, I am probably better off leaving the thing alone, aside from the fact that I cannot even see this place to toggle the preference if I wanted to do so. Still, I was wondering whether there is a way to allow such functionality on an individual program basis? What seems weird to me is that I am allowed to open this same link directly by left-clicking on it.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript.allowURLBarJS

Post by barbaz »

Can you post here the entire href attribute of that link? (wrap in code tags please)
You should be able to get it by right-clicking the link and clicking Inspect element.
antipop wrote:I cannot even see this place to toggle the preference if I wanted to do so.
about:config -> noscript.allowURLBarJS
but don't mess with that unless you personally need to type custom javascript: or data: URIs in the address bar and/or you are able to understand for yourself what they are/do by looking at them
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29a1
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: noscript.allowURLBarJS

Post by therube »

> I have a program

What program?
Is the Help a local file or does it actually go out to the web?

What is the link that you're trying to paste?

Suppose it is in fact a JavaScript link, & what is "copyable" wouldn't work, pasted, into the URL line in any case, meaning that making a change to noscript.allowURLBarJS wouldn't help.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 SeaMonkey/2.26
antipop
Junior Member
Posts: 43
Joined: Mon Nov 26, 2012 12:47 am

Re: noscript.allowURLBarJS

Post by antipop »

> "Can you post here the entire href attribute of that link? (wrap in code tags please)
You should be able to get it by right-clicking the link and clicking Inspect element."

This program is VMWare Player on Windows 7 OS. The link is for its help-file, and it is to another place in the same file on this local machine, not a link to an external resource on Internet. Here is what it shows when I right-click and copy the link:


javascript:WWHClickedPopup('player_win',%20'GUID-CC791418-B30C-487D-8F57-E7E855B61549.html#3_28_15_12_1',%20'');
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript.allowURLBarJS

Post by barbaz »

I'm surprised that ever worked correctly opening in a new tab with middle click.

I guess the easiest solution would be if you use some sort of "Duplicate Tab" add-on like this so that you could keep your existing tab and still open that link via normal link click.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29a1
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: noscript.allowURLBarJS

Post by therube »

> surprised that ever worked correctly opening in a new tab with middle click

Attempt to fix JavaScript links, I suppose?

> Duplicate Tab

Ctrl+Enter on the URL bar. (FF is different. Maybe it is Alt+Enter there?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
Post Reply