diff options
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/injected.coffee | 3 | ||||
| -rw-r--r-- | content_scripts/link_hints.coffee | 5 | 
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 | 
