strip-fetch-query-parameter snippet throws an error
Environment
- OS version: /
- Browser version: Opera v83, Edge v98, Firefox v97 and Chrome v97
- Extension version: ABP 3.12
Steps to reproduce
- Install extension
- Open settings page, Advanced tab
- Add custom filter
testpages.adblockplus.org#$#strip-fetch-query-parameter basicBlocked testpages.adblockplus.org
- Open page: https://testpages.adblockplus.org/en/snippets/strip-fetch-query-parameter
- Open dev tools on the page
Observed behavior
The filter is applied, but an error is thrown in the console of the page
Uncaught (in promise) TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation
at window.fetch (<anonymous>:18:25875)
at strip-fetch-query-parameter:108:5
Expected behavior
No error should be thrown.
Further information
n/a
Edited by Ursa Kacar