This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

About use mouse middle key to call JavaScript function question

  • 2 replies
  • 7 have this problem
  • 4 views
  • Last reply by kahn30120

more options

I want use mouse middle key to call JavaScript function (<a href="javascript:help()">) help() will open a new Window and direct to my GUI Help Page but when I click it with middle key ,it will open new Tab blank Page that url="javascript:help()"; can not Executive help function... Is this a Firefox Bug or correct behavior in Firefox? thank.

I want use mouse middle key to call JavaScript function (<a href="javascript:help()">) help() will open a new Window and direct to my GUI Help Page but when I click it with middle key ,it will open new Tab blank Page that url="javascript:help()"; can not Executive help function... Is this a Firefox Bug or correct behavior in Firefox? thank.

Chosen solution

You need to use a left click to handle JavaScript links.

See also http://kb.mozillazine.org/browser.link.open_newwindow.restriction

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

You need to use a left click to handle JavaScript links.

See also http://kb.mozillazine.org/browser.link.open_newwindow.restriction