We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6a529e commit a8337e9Copy full SHA for a8337e9
content_scripts/link_hints.coffee
@@ -11,7 +11,6 @@
11
# The "name" property below is a short-form name to appear in the link-hints mode's name. It's for debug only.
12
#
13
isMac = KeyboardUtils.platform == "Mac"
14
-simulateClickDefaultAction = true
15
OPEN_IN_CURRENT_TAB =
16
name: "curr-tab"
17
indicator: "Open link in current tab"
@@ -387,6 +386,7 @@ class LinkHintsMode
387
386
else
388
clickActivator = (modifiers) -> (link) ->
389
defaultActionsTriggered = DomUtils.simulateClick link, modifiers
+ simulateClickDefaultAction = Utils.isFirefox()
390
if simulateClickDefaultAction and
391
defaultActionsTriggered[3] and link.tagName?.toLowerCase() == "a" and
392
modifiers? and modifiers.metaKey == isMac and modifiers.ctrlKey == not isMac
0 commit comments