From 084a22e674bfff73391a9c1d07b45a9249316d2f Mon Sep 17 00:00:00 2001 From: zloyden Date: Tue, 22 Feb 2022 13:48:56 +0300 Subject: [PATCH] replaced iOS with AdGuard Content Bloccker --- .../02.how-to-create-your-own-ad-filters/docs.en.md | 8 ++++---- .../02.how-to-create-your-own-ad-filters/docs.ru.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/01.general/02.how-to-create-your-own-ad-filters/docs.en.md b/01.general/02.how-to-create-your-own-ad-filters/docs.en.md index c5f3f5ff..59418217 100644 --- a/01.general/02.how-to-create-your-own-ad-filters/docs.en.md +++ b/01.general/02.how-to-create-your-own-ad-filters/docs.en.md @@ -1305,7 +1305,7 @@ Sometimes, simple hiding of an element is not enough to deal with advertising. F > **Restrictions.** Styles that lead to loading any resource are forbidden. Basically, it means that you cannot use any `` type of value in the style. -> **Compatibility with different versions of AdGuard.** CSS rules are not supported by AdGuard for iOS. +> **Compatibility with different versions of AdGuard.** CSS rules are not supported by AdGuard Content Blocker. > Note that CSS rules may operate differently [depending on the platform](https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#cosmetic-rules-priority). @@ -1355,7 +1355,7 @@ CSS 3.0 is not always enough to block ads. To solve this problem AdGuard extends > **Application area.** Extended selectors can be used in any cosmetic rule, whether they are [element hiding rules](#cosmetic-elemhide-rules) or [CSS rules](#cosmetic-css-rules). -> **Compatibility with different versions of AdGuard.** Note that CSS rules are supported by AdGuard for iOS since iOS 15. +> **Compatibility with different versions of AdGuard.** Note that CSS rules are not supported by AdGuard Content Blocker. #### Syntax @@ -1905,7 +1905,7 @@ AdGuard supports a special type of rules that allows you to inject any javascrip > **Restrictions.** Please note that this type of rules can be used **only in trusted filters**. This category includes your own **User filter** and all the filters created by AdGuard Team. -> **Compatibility with different versions of AdGuard.** Javascript rules are supported by AdGuard for iOS since iOS 15. +> **Compatibility with different versions of AdGuard.** Javascript rules are not supported by AdGuard Content Blocker. We **strongly recommend** using scriptlets instead of Javascript rules whenever possible. JS rules are supposed to help with debugging, but as a long-time solution a scriptlet rule should be used. @@ -1954,7 +1954,7 @@ Scriptlet is a JavaScript function that provides extended capabilities for conte > AdGuard supports a lot of different scriptlets. Please note that in order to achieve cross-blocker compatibility, we also support syntax of uBO and ABP. -> **Compatibility with different versions of AdGuard.** Scriptlet rules aren't supported by AdGuard for iOS. +> **Compatibility with different versions of AdGuard.** Scriptlet rules are not supported by AdGuard Content Blocker. ### Syntax diff --git a/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md b/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md index 7c5bcde9..cabf29a9 100644 --- a/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md +++ b/01.general/02.how-to-create-your-own-ad-filters/docs.ru.md @@ -1299,7 +1299,7 @@ example.com#@#.textad > **Ограничения**. Запрещено использование стилей, которые могут приводить к загрузке каких-либо ресурсов. По сути это означает, что запрещено использование атрибутов типа ``. -> **Совместимость с различными версиями AdGuard.** Заметьте, что CSS-правила не поддерживаются AdGuard для iOS. +> **Совместимость с различными версиями AdGuard.** Заметьте, что CSS-правила не поддерживаются AdGuard Content Blocker. > Обратите внимание, что правила CSS-стилей работают по-разному и их приоритетность меняется [в зависимости от платформы](https://kb.adguard.com/ru/general/how-to-create-your-own-ad-filters#cosmetic-rules-priority). @@ -1348,7 +1348,7 @@ example.com#@$#.textad { visibility: hidden; } > **Область применения**. Расширенные селекторы можно применять в любом косметическом правиле, будь то [правила скрытия](#cosmetic-elemhide-rules) или [правила CSS стилей](#cosmetic-css-rules). -> **Совместимость с различными версиями AdGuard.** Заметьте, что CSS-правила поддерживаются AdGuard для iOS, начиная с iOS 15. +> **Совместимость с различными версиями AdGuard.** Заметьте, что CSS-правила не поддерживаются AdGuard Content Blocker. #### Синтаксис @@ -1898,7 +1898,7 @@ AdGuard поддерживает специальный тип правил, п > **Ограничения**. Этот тип правил может быть использован **только в доверенных фильтрах**. В эту категорию попадают ваши собственные **Пользовательские правила**, и фильтры, которые создаются командой AdGuard. -> **Совместимость с различными версиями AdGuard.** Javascript-правила поддерживаются AdGuard для iOS, начиная с iOS 15. +> **Совместимость с различными версиями AdGuard.** Javascript-правила не поддерживаются AdGuard Content Blocker. Мы **крайне рекомендуем** использовать скриптлеты вместо Javascript-правил везде, где это возможно. JS-правила предназначены для помощи в процессе дебаггинга, но в качестве полноценного решения в долгосрочной перспективе следует использовать скриптлеты. @@ -1946,7 +1946,7 @@ example.com#@%#window.__gaq = undefined; > AdGuard поддерживает множество различных скриптлетов. Чтобы добиться совместимости между различными блокировщиками, мы также поддерживаем синтаксис uBO и ABP. -> **Совместимость с различными версиями AdGuard.** Javascript-правила не поддерживаются AdGuard для iOS. +> **Совместимость с различными версиями AdGuard.** Скриптлеты не поддерживаются AdGuard Content Blocker. ### Синтаксис