From 5745bb344959a61297fc16e00bb6de0a2a8744d9 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 1 Apr 2018 07:46:49 +0100 Subject: Disable click listener detection and bump to v1.63.3. --- content_scripts/injected.coffee | 3 +++ content_scripts/link_hints.coffee | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'content_scripts') 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 -- cgit v1.2.3