Skip to content

Commit

Permalink
Merge pull request #308 from AdguardTeam/block-youtube-ads
Browse files Browse the repository at this point in the history
Fix article about YouTube ads in iOS
  • Loading branch information
sonya-orlova authored Sep 13, 2023
2 parents a3e8178 + d7648ab commit 207ff87
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions docs/adguard-for-ios/solving-problems/block-youtube-ads.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: How to block YouTube ads in Safari
title: How to block YouTube ads
sidebar_position: 4
---

Expand All @@ -9,22 +9,26 @@ This article covers AdGuard for iOS, a multifunctional ad blocker that protects

:::

## 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.
<iframe width="560" height="315" class="youtube-video" src="https://www.youtube-nocookie.com/embed/YW9Ojcm1Gkg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

![How to block YouTube ads in Safari *mobile](https://cdn.adtidy.org/public/Adguard/Blog/ios_safari_extension.png)
## How to block ads in the YouTube app

To activate the extension and block ads on YouTube, do the following:
1. Open the YouTube app.
1. Choose a video and tap *Share*.
1. Tap *More*, then select *Block YouTube Ads (by AdGuard)*.

1. Open youtube.com in Safari.
2. Tap the Share button.
3. Tap "Block YouTube Ads (by AdGuard)".
AdGuard will open its ad-free video player.

YouTube is now ad-free! Please note that you need to run this extension again if you reload the page.
## How to block ads on YouTube in Safari

:::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
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.
1. Choose a video and tap *Share*.
1. Tap *Block YouTube Ads (by AdGuard)*.

AdGuard will open its ad-free video player.

0 comments on commit 207ff87

Please sign in to comment.