[Webkit-unassigned] [Bug 146901] New: Override preventDefault() of touch/gestures in iOS Content Blocker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 13 07:53:46 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146901

            Bug ID: 146901
           Summary: Override preventDefault() of touch/gestures in iOS
                    Content Blocker
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: deano.uk at gmail.com

Some websites are using preventDefault() on touch/gesture evens within javascript to prevent the callout menu.

For example: If you visit news.google.com on an iPhone, you are unable to long-tap the hyperlinks to copy link/open in new tab/add to reading list. The only workaround I can find for this particular website is to refresh into a desktop view.

The particular script that handles these events can be blocked via content blocker, however blocking the whole script affects the page loading correctly as overriding touch handlers are a small part of what the script as a whole does. 

Maybe have an option within the blockerList.json to ignore 'preventDefault()' of touch/gesture overrides?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150713/a47cfc1f/attachment-0001.html>


More information about the webkit-unassigned mailing list