AdguardTeam / CoreLibs

Core Adguard libraries
https://adguard.com/
Apache License 2.0
40 stars 7 forks source link

Userscript with @require doesn't work #1911

Closed AdamWr closed 2 months ago

AdamWr commented 2 months ago

Please answer the following questions for yourself before submitting an issue

AdGuard version

7.19.0 nightly 3 (4814) (CL 1.16.25, DL 2.5.41 )

Browser version

Chrome 128

OS version

Windows 11

Issue Details

Steps to reproduce:

  1. Install latest nightly version 7.19.0 nightly 3 (4814) (CL 1.16.25, DL 2.5.41 )
  2. Install extended-css.debugger userscript from - https://github.com/AdguardTeam/Userscripts/raw/master/extendedCssDebugger/extended-css.debugger.user.js
  3. Go to any website, for example - https://example.org/
  4. Open browser console and try to run ExtendedCss.query('body')

Expected Behavior

Userscript should works correctly.

Actual Behavior

Userscript doesn't work and there is an error.

Screenshot ![image](https://github.com/user-attachments/assets/50b713a8-661e-4fc9-902d-405e0fe331aa)

Screenshots

No response

Additional Information

No response

AdamWr commented 2 months ago

It has been fixed in version 7.19.0 nightly 4 (4817) (CL 1.16.29, DL 2.5.41).