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

Fix spoof-css — mocked function is detected at t.hi098123.com #422

Open
piquark6046 opened this issue Apr 15, 2024 · 2 comments
Open

Fix spoof-css — mocked function is detected at t.hi098123.com #422

piquark6046 opened this issue Apr 15, 2024 · 2 comments

Comments

@piquark6046
Copy link
Member

If no AdGuard filters and user rules are enabled, functionality of the webpage 1 works well.
However, if I add the following rule into my AdGuard Browser Extension 4.3.46 user rules:

t.hi098123.com#%#//scriptlet('spoof-css', '.adguard-sample', 'debug', 'true')

It will be broken because anti-adblock script of the webpage is triggered.

Related to AdguardTeam/AdguardFilters#175799.

Footnotes

  1. In the issue, two input[aria-label="Date-Time"] elements.

@piquark6046
Copy link
Member Author

@gorhill uBlock Origin is also affected.

@JobcenterTycoon
Copy link

JobcenterTycoon commented Apr 15, 2024

uBO latest dev also affected. Test page: https://t.hi098123.com/datediff they detecting in general like ylilauta.org did in the past. Old code can be found here: kkapsner/CanvasBlocker#686 @kkapsner CanvasBlocker is affected again.

How to reproduce:

  1. Enable kr: List-KR and disable cosmetic filtering for the site with @@||t.hi098123.com^$ehide (to prevent other detections).
  2. Add t.hi098123.com##+js(spoof-css, random32456236, display, block)
  3. open the site. The date field is empty even after several reloads.
  4. Disable the spoof-css filter and reload again. The date field will come back.
pic

@adguard-bot adguard-bot assigned slavaleleka and unassigned maximtop Apr 17, 2024
@adguard-bot adguard-bot changed the title A mocked function is detected at t.hi098123.com Fix spoof-css — mocked function is detected at t.hi098123.com Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants