Can't middle-click hyperlinks from an extension's options_ui page.
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(firefox135 affected, firefox136 affected, firefox137 affected)
People
(Reporter: paul, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Steps to reproduce:
Install this trivial extension, open the Options page, and try to middle-click, ctrl-click, or shift-click on the link:
== manifest.json ==
{
"manifest_version": 3,
"name": "options test",
"version": "1.0",
"options_ui": {
"page": "options.html"
}
}
== options.html ==
<!DOCTYPE html>
<html>
<body>
<a href="https://mozilla.org" target="_blank">Mozilla</a>
</body>
</html>
Actual results:
The link doesn't do anything. The only action that works correctly is left-click.
Expected results:
The page should open in a background tab (middle-click, ctrl-click) or a new tab (shift-click).
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
I reproduced the issue on the latest Nightly (137.0a1/20250210213927), Beta (136.0b4/20250210091604) and Release (135.0/20250130195129) under Windows 10 and Ubuntu 24.04 LTS.
Middle-click, Ctrl-click or Shift-click do not work on the link from the attached extension’s Options page. Only left click works and opens https://www.mozilla.org/en-US/ in a new tab.
However, Middle-click, Ctrl-click and Shift-click do work, for example, as expected on the “Learn more” link from the “Run in Private Windows” section from the “Details” page of the extension.
| Reporter | ||
Updated•1 year ago
|
Description
•