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 cavab
  • 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

Seçilmiş Həll

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

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