FILTER OF HREF IN ADBLOCK OR THE LIKE

Asked 2 years ago, Updated 2 years ago, 311 views

What kind of filter would it be if both hoge and fuga wanted to erase the elements in the URL string (value of href attribute) out of order?

a href="example.com/hoge/fuga"
a href="example.fuga.com/hoge"

and so on.

a href="example.com/hoge"
a href="example.fuga.com"

I would like to not delete it with only one URL.
:has-text may have been used incorrectly, or it didn't work.

I don't think the notation is different between adblock and uBlock, but I appreciate your cooperation.
Please let me know if there are any tags to add.

html

2022-09-30 21:54

1 Answers

If your AdBlocker can use the regular expression,

a href="[^"]*?hoge[^"]*?fuga[^"]*"
a href="[^"]*?fuga[^"]*?hoge[^"]*"

You may be able to specify it in such a way as


2022-09-30 21:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.