CoreLibs icon indicating copy to clipboard operation
CoreLibs copied to clipboard

Error in content-script when $jsinject exception is applied

Open AdamWr opened this issue 9 months ago • 0 comments

Please answer the following questions for yourself before submitting an issue

  • [x] Filters were updated before reproducing an issue
  • [x] I checked the knowledge base and found no answer
  • [x] I checked to make sure that this issue has not already been filed

AdGuard version

7.21.0 nightly 12 (4969) (CL 1.17.94, DL 2.5.63 )

Browser version

Chrome 134

OS version

Windows 11

Issue Details

Steps to reproduce:

  1. Add this rule to user rules:
@@||example.org^$jsinject
  1. Go to - https://example.org/
  2. Open browser console

Expected Behavior

There should not be any error.

Actual Behavior

There is an error:

Uncaught TypeError: Cannot read properties of null (reading 'length')

Screenshots

Screenshot 1

Image

Additional Information

No response

AdamWr avatar Feb 27 '25 09:02 AdamWr