AdguardFilters icon indicating copy to clipboard operation
AdguardFilters copied to clipboard

Getting rid of JS rules, used to set a cookie

Open Alex-302 opened this issue 1 year ago • 28 comments

Prerequisites

  • [X] I checked the documentation and found no answer;
  • [X] I checked to make sure that this issue has not already been filed;
  • [X] This is not an ad/bug report.

Problem description

Prerequisites

  • [X] I checked the documentation and found no answer;
  • [X] I checked to make sure that this issue has not already been filed;
  • [X] This is not an ad/bug report.

Problem description

We have ~317 JS rules, used to set a cookie. They can be found by: document.cookie = They must be replaced by set-cookie / set-cookie-reload / trusted-set-cookie-reload scriptlet rules.

There are many old rules, so first you need to check if the site is available, and then the need for the rule.

  • For convenience, you can work in a separate browser
  • Retrieve the list of domains, clean up duplicates and check if sites exist (if redirects occur, we assume that the site is dead).
  • All such rules can be merged into one file, convert them to exception rules and import as custom filter. Then go down the list and check if the rules are needed (other types of problems not related to these rules are skipped).
  • If the site is dead - add domains in the comment below. Then we will remove them from the filters.

In order not to overlap with other filter maintainers, it is desirable to perform batch rule replacement via pull-requests (5-10 rules per PR).

Important

It should be checked with a Dutch or German VPN, because otherwise the cookie usage messages may not appear.

Alex-302 avatar Nov 21 '23 09:11 Alex-302

Dead domain: first-comment.com https://github.com/AdguardTeam/AdguardFilters/issues/83355

piquark6046 avatar Nov 22 '23 12:11 piquark6046

@Alex-302 How to address if a rule mentions an issue in the closed AdGuard Forum?

piquark6046 avatar Dec 01 '23 12:12 piquark6046

@piquark6046 If it's not clear from the rule what it's for, and the site is still working - just convert to a scriptlet.

Alex-302 avatar Dec 01 '23 15:12 Alex-302

Dead domain: exrapidleech.info https://github.com/jspenguin2017/uBlockProtector/issues/167 https://github.com/AdguardTeam/AdguardFilters/issues/4957

piquark6046 avatar Dec 06 '23 12:12 piquark6046

Dead domain: tpb.dashitz.com

piquark6046 avatar Dec 06 '23 12:12 piquark6046

Dead domain: yts.life https://github.com/AdguardTeam/AdguardFilters/issues/43664

piquark6046 avatar Dec 06 '23 12:12 piquark6046

Dead website: pfm.pl https://github.com/AdguardTeam/AdguardFilters/issues/26890

piquark6046 avatar Dec 06 '23 12:12 piquark6046

Dead website: sinemavitrini.com https://github.com/AdguardTeam/AdguardFilters/issues/34548

piquark6046 avatar Dec 06 '23 13:12 piquark6046

An inaccessible website: fantasti.cc https://github.com/AdguardTeam/AdguardFilters/issues/6540

piquark6046 avatar Jan 03 '24 12:01 piquark6046

An inaccessible website: videowood.tv

piquark6046 avatar Jan 03 '24 12:01 piquark6046

An inaccessible website: mofosex.com https://github.com/AdguardTeam/AdguardFilters/issues/6128

piquark6046 avatar Jan 03 '24 13:01 piquark6046

Dead domain: JERUSALEMONLINE.com No records found.

piquark6046 avatar Jan 12 '24 12:01 piquark6046

How to address if a rule mentions an issue in the closed AdGuard Forum?

maybe was copied to public archive.org?

krystian3w avatar Jan 18 '24 22:01 krystian3w

maybe was copied to public archive.org?

No(

Alex-302 avatar Jan 22 '24 15:01 Alex-302

Dead domain: radioego.com

piquark6046 avatar Jan 23 '24 12:01 piquark6046

Dead domain: ddl-warez.to

piquark6046 avatar Feb 22 '24 11:02 piquark6046

Dead domain: filebase.ws

piquark6046 avatar Feb 22 '24 12:02 piquark6046

Dead domain: xbooks.to

piquark6046 avatar Feb 22 '24 13:02 piquark6046

Dead domain: ebonus.gg

piquark6046 avatar Feb 22 '24 13:02 piquark6046

Dead domain: megalyrics.ru

piquark6046 avatar Mar 06 '24 13:03 piquark6046

Outdated domain: daimler.com

piquark6046 avatar Mar 07 '24 13:03 piquark6046

Inaccessible domain: wakeboardingmag.com

piquark6046 avatar Apr 05 '24 12:04 piquark6046

Dead domain: 2b-drinks.de

piquark6046 avatar Apr 17 '24 12:04 piquark6046

Inaccessible domain: mediamarkt.se

piquark6046 avatar Apr 18 '24 12:04 piquark6046

Inaccessible domain: prosiebengames.de

piquark6046 avatar Apr 18 '24 12:04 piquark6046

Inaccessible domain: prosiebengames.de

Site is accessible with German IP.

BlazDT avatar Apr 18 '24 12:04 BlazDT

https://github.com/AdguardTeam/AdguardFilters/issues/166756#issuecomment-2063770466 I considered it as an inaccessible domain because It took long time to connect. However, I can confirm that the deleted rules are outdated.

piquark6046 avatar Apr 18 '24 12:04 piquark6046

Inaccessible domain: thewirecutter.com If you try to visit, you will be redirected to nytimes.com.

piquark6046 avatar Apr 19 '24 12:04 piquark6046