aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2018-04-01 07:46:49 +0100
committerStephen Blott2018-04-01 07:46:49 +0100
commit5745bb344959a61297fc16e00bb6de0a2a8744d9 (patch)
treefe9b76f6d5e96a2d14619fca0badd36118242696 /content_scripts
parent29838028148a18bfa905e7487c91b83d86533374 (diff)
downloadvimium-1.63.3.tar.bz2
Disable click listener detection and bump to v1.63.3.v1.63.3
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/injected.coffee3
-rw-r--r--content_scripts/link_hints.coffee5
2 files changed, 6 insertions, 2 deletions
diff --git a/content_scripts/injected.coffee b/content_scripts/injected.coffee
index 5b614763..b943f2fc 100644
--- a/content_scripts/injected.coffee
+++ b/content_scripts/injected.coffee
@@ -1,3 +1,6 @@
+# NOTE(smblott) Disabled pending resolution of #2997.
+return
+
# The code in `injectedCode()`, below, is injected into the page's own execution context.
#
# This is based on method 2b here: http://stackoverflow.com/a/9517879, and
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 020ff1c7..849aa4c5 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -706,8 +706,9 @@ LocalHints =
isClickable = true
reason = "Open."
- # Detect elements with "click" listeners installed with `addEventListener()`.
- isClickable ||= element.hasAttribute "_vimium-has-onclick-listener"
+ # NOTE(smblott) Disabled pending resolution of #2997.
+ # # Detect elements with "click" listeners installed with `addEventListener()`.
+ # isClickable ||= element.hasAttribute "_vimium-has-onclick-listener"
# An element with a class name containing the text "button" might be clickable. However, real clickables
# are often wrapped in elements with such class names. So, when we find clickables based only on their