From 9c9f21e76869c3f725c60c7c96a96b6e3dc77486 Mon Sep 17 00:00:00 2001
From: ss-orlova <95080242+ss-orlova@users.noreply.github.com>
Date: Fri, 8 Sep 2023 19:42:05 +0300
Subject: [PATCH 1/5] Fix article about YouTube ads on iOS
Plus added a video
---
.../solving-problems/block-youtube-ads.mdx | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
diff --git a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx b/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
new file mode 100644
index 00000000000..e1dc5aac207
--- /dev/null
+++ b/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
@@ -0,0 +1,35 @@
+---
+title: How to block YouTube ads
+sidebar_position: 4
+---
+
+:::info
+
+This article covers AdGuard for iOS, a multifunctional ad blocker that protects your device at the system level. To see how it works, [download the AdGuard app](https://agrd.io/download-kb-adblock)
+
+:::
+
+
+
+## How to block ads in the YouTube app
+
+1. Open the YouTube app.
+2. Choose a video and tap *Share*.
+3. Tap *More*, then select *Block YouTube Ads (by AdGuard)*.
+
+AdGuard will open its ad-free video player.
+
+
+## How to block ads on YouTube in Safari
+
+:::tip
+
+Make sure you've given AdGuard access to all websites. You can check it in Safari → Extensions → AdGuard. Then open AdGuard and enable *Advanced protection*.
+
+:::
+
+1. Open youtube.com in Safari.
+2. Choose a video and tap *Share*.
+3. Tap *Block YouTube Ads (by AdGuard)*.
+
+AdGuard will open its ad-free video player.
\ No newline at end of file
From 0b02906894e7a7b91892309fb98caed5b4dae9d4 Mon Sep 17 00:00:00 2001
From: ss-orlova <95080242+ss-orlova@users.noreply.github.com>
Date: Fri, 8 Sep 2023 19:43:31 +0300
Subject: [PATCH 2/5] Add blank line
---
.../solving-problems/block-youtube-ads.md | 30 -------------------
.../solving-problems/block-youtube-ads.mdx | 2 +-
2 files changed, 1 insertion(+), 31 deletions(-)
delete mode 100644 docs/adguard-for-ios/solving-problems/block-youtube-ads.md
diff --git a/docs/adguard-for-ios/solving-problems/block-youtube-ads.md b/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
deleted file mode 100644
index 42855c9f764..00000000000
--- a/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-title: How to block YouTube ads in Safari
-sidebar_position: 4
----
-
-:::info
-
-This article covers AdGuard for iOS, a multifunctional ad blocker that protects your device at the system level. To see how it works, [download the AdGuard app](https://agrd.io/download-kb-adblock)
-
-:::
-
-## How to block ads on YouTube in Safari
-
-Unfortunately, ad blocking in the YouTube app is technically impossible, but if you watch YouTube in Safari, there is a way. We developed an action extension (available since AdGuard v4.2 for iOS) designed specifically to block ads there. After you update your app to v4.2, this extension will be installed automatically, you don't have to follow any complicated instructions. Other than ads, the extension removes the placeholder remaining after blocking on iPads. Plus, YouTube videos are played automatically again and you don't have to make an extra tap.
-
-![How to block YouTube ads in Safari *mobile](https://cdn.adtidy.org/public/Adguard/Blog/ios_safari_extension.png)
-
-To activate the extension and block ads on YouTube, do the following:
-
-1. Open youtube.com in Safari.
-2. Tap the Share button.
-3. Tap "Block YouTube Ads (by AdGuard)".
-
-YouTube is now ad-free! Please note that you need to run this extension again if you reload the page.
-
-:::tip
-
-In some cases the AdGuard extension may be not displayed. If you don't see it, try to follow the instruction again or restart your device
-
-:::
diff --git a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx b/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
index e1dc5aac207..b0c2c1eb9f9 100644
--- a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
+++ b/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
@@ -32,4 +32,4 @@ Make sure you've given AdGuard access to all websites. You can check it in Safar
2. Choose a video and tap *Share*.
3. Tap *Block YouTube Ads (by AdGuard)*.
-AdGuard will open its ad-free video player.
\ No newline at end of file
+AdGuard will open its ad-free video player.
From 9fc303e1aa8ba8a0f2f56212a8378bde885c0c75 Mon Sep 17 00:00:00 2001
From: ss-orlova <95080242+ss-orlova@users.noreply.github.com>
Date: Mon, 11 Sep 2023 19:49:33 +0300
Subject: [PATCH 3/5] Fix size
---
docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx b/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
index b0c2c1eb9f9..0ae95d853e9 100644
--- a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
+++ b/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
@@ -9,7 +9,7 @@ This article covers AdGuard for iOS, a multifunctional ad blocker that protects
:::
-
+
## How to block ads in the YouTube app
From 9dcc5082c56dfe6acf018e36f4294c5b493f26ee Mon Sep 17 00:00:00 2001
From: ss-orlova <95080242+ss-orlova@users.noreply.github.com>
Date: Tue, 12 Sep 2023 20:41:16 +0300
Subject: [PATCH 4/5] Return .md + fix markdown
---
.markdownlint.json | 1 +
.../{block-youtube-ads.mdx => block-youtube-ads.md} | 11 ++++-------
2 files changed, 5 insertions(+), 7 deletions(-)
rename docs/adguard-for-ios/solving-problems/{block-youtube-ads.mdx => block-youtube-ads.md} (84%)
diff --git a/.markdownlint.json b/.markdownlint.json
index 681e08132f1..a225590225b 100644
--- a/.markdownlint.json
+++ b/.markdownlint.json
@@ -7,6 +7,7 @@
"allowed_elements": [
"br",
"details",
+ "iframe",
"summary"
]},
"no-trailing-spaces": { "br_spaces": 0 },
diff --git a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx b/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
similarity index 84%
rename from docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
rename to docs/adguard-for-ios/solving-problems/block-youtube-ads.md
index 0ae95d853e9..ea57e94db85 100644
--- a/docs/adguard-for-ios/solving-problems/block-youtube-ads.mdx
+++ b/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
@@ -14,12 +14,10 @@ This article covers AdGuard for iOS, a multifunctional ad blocker that protects
## How to block ads in the YouTube app
1. Open the YouTube app.
-2. Choose a video and tap *Share*.
-3. Tap *More*, then select *Block YouTube Ads (by AdGuard)*.
-
+1. Choose a video and tap *Share*.
+1. Tap *More*, then select *Block YouTube Ads (by AdGuard)*.
AdGuard will open its ad-free video player.
-
## How to block ads on YouTube in Safari
:::tip
@@ -29,7 +27,6 @@ Make sure you've given AdGuard access to all websites. You can check it in Safar
:::
1. Open youtube.com in Safari.
-2. Choose a video and tap *Share*.
-3. Tap *Block YouTube Ads (by AdGuard)*.
-
+1. Choose a video and tap *Share*.
+1. Tap *Block YouTube Ads (by AdGuard)*.
AdGuard will open its ad-free video player.
From d7648abba93eb005f2f8e8c8d430a7fa124e08e2 Mon Sep 17 00:00:00 2001
From: ss-orlova <95080242+ss-orlova@users.noreply.github.com>
Date: Wed, 13 Sep 2023 11:53:00 +0300
Subject: [PATCH 5/5] Add blank lines
---
docs/adguard-for-ios/solving-problems/block-youtube-ads.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/adguard-for-ios/solving-problems/block-youtube-ads.md b/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
index ea57e94db85..b81977d18e0 100644
--- a/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
+++ b/docs/adguard-for-ios/solving-problems/block-youtube-ads.md
@@ -16,6 +16,7 @@ This article covers AdGuard for iOS, a multifunctional ad blocker that protects
1. Open the YouTube app.
1. Choose a video and tap *Share*.
1. Tap *More*, then select *Block YouTube Ads (by AdGuard)*.
+
AdGuard will open its ad-free video player.
## How to block ads on YouTube in Safari
@@ -29,4 +30,5 @@ Make sure you've given AdGuard access to all websites. You can check it in Safar
1. Open youtube.com in Safari.
1. Choose a video and tap *Share*.
1. Tap *Block YouTube Ads (by AdGuard)*.
+
AdGuard will open its ad-free video player.