Opened on 11/24/2014 at 05:01:54 PM
Closed on 11/25/2014 at 04:38:25 PM
Last modified on 12/02/2014 at 11:14:25 AM
#1603 closed defect (fixed)
"Block element" does not work when page cancels click event
Reported by: | passbrains | Assignee: | sebastian |
---|---|---|---|
Priority: | P3 | Milestone: | Adblock-Plus-1.8.8-for-Chrome-Opera-Safari |
Module: | Platform | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Platform: | Unknown | |
Ready: | yes | Confidential: | no |
Tester: | Verified working: | no | |
Review URL(s): |
Description (last modified by sebastian)
Adapted from https://www.passbrains.com/dashboard/view-ticket.php?ticket_no=AOP-136
Environment
Windows + Vista 64bit + Chrome/Opera + English
ABP version Adblock Plus Version 1.8.7.1254
How to reproduce
- Install ABP extension on Opera.
- Load website http://www.viber.com/#windowsphone
3, Try to block javascript active menu as shown by red circle in attached image.
Observed behaviour
Not able to block the selected item as 'Add filter' pop-up does not appear.
Instead due to active menu, on clicking it navigates.
Expected behaviour
Shall be able to block the selected item i.e. javascript active menu.
Attachments (1)
Change History (6)
Changed on 11/24/2014 at 05:01:56 PM by passbrains
comment:1 Changed on 11/24/2014 at 05:03:54 PM by sebastian
- Component changed from Unknown to Platform
- Description modified (diff)
- Owner set to sebastian
- Platform changed from Opera to Unknown
- Priority changed from Unknown to P3
- Ready set
- Summary changed from Unable to block Active menu with javascript to "Block element" does not work when page cancels click event
comment:2 Changed on 11/24/2014 at 05:06:42 PM by sebastian
- Review URL(s) modified (diff)
- Status changed from new to reviewing
comment:3 Changed on 11/25/2014 at 04:38:25 PM by sebastian
- Milestone set to Adblock-Plus-for-Chrome-Opera-Safari-next
- Resolution set to fixed
- Status changed from reviewing to closed
comment:4 Changed on 11/26/2014 at 11:33:25 AM by sebastian
Note: See
TracTickets for help on using
tickets.
The problem here is that the page's click event handler cancels the event, so our event listener isn't called. To mitigate issues like that we should register our event with the capturing phase.