Adding multiple custom filters not working as expected
Environment
- OS version: TBD
- Browser version: Chrome
- Extension version: 3.25.1 (Manifest v3)
- Last working version: TBD
Steps to reproduce
- Open the Options page → Advanced tab
- Copy and paste the the custom filters:
/custom-blocking.js
/custom-blocking-regex.*
###custom-hiding-id
##.custom-hiding-class
- Click the “Add“ button
- Refresh the page
Observed behavior
- Clicking the "Add" button after pasting multiple custom filters causes the multiple filter lists to be merged as one
- A total of 5 Custom filters were added
The extra filter being/custom-blocking.js /custom-blocking-regex.* ###custom-hiding-id ##.custom-hiding-class
, which has no enable toggle and shows up as/custom-blocking.js/custom-blocking-regex.*###custom-hiding-id##.custom-hiding-class
after reloading the page.
Expected behavior
- Filter lists are not merged as one
- Only 4 Custom filters should be added
Further information
This problem was originally reported internally as https://eyeo.atlassian.net/browse/EE-422.
Edited by Thomas Greiner