Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addEventListener-defuser don't work #1812

Closed
8 tasks done
yingziwu opened this issue Nov 11, 2021 · 1 comment
Closed
8 tasks done

addEventListener-defuser don't work #1812

yingziwu opened this issue Nov 11, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@yingziwu
Copy link

Prerequisites

I tried to reproduce the issue when...

  • uBO is the only extension
  • uBO with default lists/settings
  • using a new, unmodified browser profile

Description

The addEventListener-defuser don't always work.

A specific URL where the issue occurs

https://www.zhihu.com/question/51459956/answer/245693096

Steps to Reproduce

  1. Open Firefox and install uBlockOrigin.
  2. Add the following rules to "My filters".
www.zhihu.com##+js(aeld, click)
www.zhihu.com##+js(aeld, copy)
www.zhihu.com##+js(aeld, keydown)
www.zhihu.com##+js(aeld, keypress)
www.zhihu.com##+js(aeld, keyup)
www.zhihu.com##+js(aeld, mousedown)
www.zhihu.com##+js(aeld, mouseout)
www.zhihu.com##+js(aeld, mouseover)
www.zhihu.com##+js(aeld, selectionchange)
  1. Visit the website Zhihu, eg. https://www.zhihu.com/question/51459956/answer/245693096

Expected behavior

The eventListener that mentioned above don't been attached.

Actual behavior

The eventListener are attached.
Screenshot_20211111_235709
Screenshot_20211111_235725
Screenshot_20211111_235736

uBlock Origin version

1.38.6

Browser name and version

Name: Firefox,Version: 94.0.1, Build ID: 20211104013219, Distribution ID: archlinux

Operating System and version

Archlinux, Linux 5.14.16-zen1-1-zen

@uBlock-user
Copy link
Contributor

Duplicate of #235

@uBlock-user uBlock-user marked this as a duplicate of #235 Nov 11, 2021
@uBlock-user uBlock-user added the duplicate This issue or pull request already exists label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants