Advice Request AdGuard advanced rules QUESTION

Please provide comments and solutions that are helpful to the author of this topic.

Lenny_Fox

Level 22
Thread author
Verified
Top Poster
Well-known
Oct 1, 2019
1,120
Hi, I have a question about the advanced block rules of Adguard extension. Maybe one of the forum members with an adguard license is so kind to post this question on AdGuard support.

In the User Rules section of the Adguar extension I have put two rules to increase security. First one is based on W_S thread in MT-forum (link), the second one is made using Adguard advanced rules documentation.

My question is related to the second rule. The Adguard info tells me that they follow CSP syntax, so I should use the $CSP rule on specific domains, but ... AdGuard helps writing user rules by coloring the rules (for correct syntax see picture below). It seems that it allows to use HTTP://* wildcard (in stead of a specific domain name).

So my question is: will the second rule work (or is it ignored because of an syntax error)?

||HTTP://*^$csp=script-src 'self' 'unsafe-eval' *

1575800411965.png
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top