AdguardTeam / AdguardTeam/FiltersCompiler

Add "!#if dns" and "!#if !dns" for AdGuard DNS and AdGuard for Windows/Android's DNS filtering

未關閉
#128 6 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
feature request
主要語言
JavaScript
星號
64
分支
11
PR 合併指標
30 天內沒有已合併 PR

描述

I remember thinking about something like this a few times earlier this year, but kept forgetting it each time; until I was reminded about it again tonight on Slack.

Essentially, `!#if dns` would be:
True on: AdGuard Home, AdGuard for Windows/Mac/Android's *DNS Filtering*, AdGuard DNS
False on: AdGuard Browser Extension, AdGuard for Windows/Mac/Android's ordinary filtering, uBlock Origin, AdGuard for Safari (all versions), AdGuard Content Blocker

I've forgot which scenarios where I personally would've needed it, but it's perfectly probable for a site to need a domain block/allow in AdGuard Home, while the entry would've simultaneously been way too broad for all other mainstream adblockers.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。