Menu
PL

How to efficiently block YouTube ads in Safari

In this post, we'll show you how to get rid of YouTube ads in Safari browser on your iOS device. If you don't want to read entirely, skip directly to instructions.

UPD: added support for YouTube Music, several minor bugs fixed. You need to reinstall the shortcut to get the update: https://agrd.io/ios_youtube_shortcut

To get a shortcut that updates automatically download a newer version: https://agrd.io/ios_youtube_shortcut_remote

Several weeks ago we started receiving complaints about some YouTube ads that somehow managed to infiltrate Safari. As you may know, because of Safari Content Blocking API our hands are quite tied when it comes to content blocking opportunities. We explained why in this article and in all detail, hoping that Apple will pay attention to the current situation.

UPD: And they did! There is definitely a chance that the situation will improve in the future.

We managed to quickly solve the problem with ads in the AdGuard for Safari extension, on macOS it was easier to do: thanks to the "AdGuard Advanced Blocking" extension, we can compensate for missing Safari content blocking capabilities. But with iOS, the problem persisted, and we must admit that it was rather sad that we could not get rid of ads, like we used to.

And then... eureka! We remembered that YouTube works without reloading the page. It turns out that you can run a special script that will work and remove ads until the page is reloaded. After realizing this fact, the way to implement it came quickly — last fall, Apple added shortcuts that are great for this task. In the blink of an eye, we developed our own quick command (shortcut) that outright removes YouTube ads.

We're thrilled to have come up with a solution to help iOS and iPadOS devices owners. If you too have been hit by the sudden flurry of YouTube ads popping up in Safari, then this is the solution for you. In the next version of AdGuard for iOS, such a command will appear automatically, and we are already working to bring this version out as soon as possible. But if you don't want to wait, here's what you need to do to activate it right now.

How to add a shortcut to block YouTube ads in Safari

  1. Open the "Shortcuts" app. It can be found in system settings or downloaded from App Store.
  2. If you have not used shortcuts before, then to launch ours you will first have to run any shortcut offered by Apple.
  3. Go to the "Shortcuts" app, launch any, then Proceed to iOS device settings -> Shortcuts and enable the "Allow Untrusted Shortcuts" option.
  1. Now proceed at this link, tap "Get Shortcut", and you'll see the contents of the AdGuard shortcut. To install it, scroll a bit down and tap "Allow Untrusted shortcut" (yeah, we know, it doesn't sound too good).
  1. Now open YouTube in Safari. Click on the bottom icon in the middle, scroll to the end and select Block YouTube Ads (by AdGuard).
  1. Tap "Allow" in the appeared notification.

  2. All done! Now you can watch YouTube without ads.

If the shortcut is enabled and working, the inscription "with AdGuard" will appear next to the YouTube logo. If it is not there, you probably reloaded the page and the shortcut needs to be restarted.

How it looks like on iPhone (left) and iPad (right)


Apple considers any third-party developer to be untrustworthy, so AdGuard is naturally one of them. But if you know and use our applications, then you can be sure that you can trust us :)

Please note that when you reload the page, you will need to rerun the command.

Important:

  1. This shortcut is open-source. In this repository you can see everything it does.
  2. The shortcut is not updated by itself. This means that if we change something in it, it will need to be reinstalled. But when the new version of AdGuard comes out, there will be no need to think about it.
  3. The shortcut can be used without AdGuard. Even if you don't use any blocker on iOS at all, it will completely clean YouTube from ads.

This is a temporary solution, of course. But right now it seems to be the best possible option. The problem is especially noticeable on iPads, where a white blank field appears instead of ads. But even if you have an iPhone, using the shortcut will make the situation better: in addition to advertising, an extra click will disappear, which interferes with the autoplay of the video. If you are used to living happily without YouTube ads and are annoyed to see them again in Safari, try our shortcut.

We will be glad if you can share your opinion on it. Waiting for your feedback here in the comments section or on our social networks!

Podobał Ci się ten post?
18 588 18588 recenzji
Doskonały!

AdGuard na Windows

AdGuard dla Windows to coś więcej niż blokada reklam. To wielofunkcyjne narzędzie, które blokuje reklamy, kontroluje dostęp do niebezpiecznych witryn, przyspiesza ładowanie stron i chroni dzieci przed nieodpowiednimi treściami.
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

AdGuard na Mac

AdGuard for Mac to unikalny bloker reklam zaprojektowany z myślą o systemie macOS. Oprócz ochrony przed irytującymi reklamami w przeglądarkach i aplikacjach, chroni Cię przed śledzeniem, phishingiem i oszustwami.
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

AdGuard na Android

AdGuard dla Androida to doskonałe rozwiązanie dla urządzeń z systemem Android. W przeciwieństwie do większości innych blokerów reklam, AdGuard nie wymaga dostępu root i zapewnia szeroki zakres opcji zarządzania aplikacjami.
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

AdGuard na iOS

Najlepszy bloker reklam dla iOS na iPhone'a i iPada. AdGuard eliminuje wszelkiego rodzaju reklamy w Safari, chroni Twoją prywatność i przyspiesza ładowanie strony. Technologia blokowania reklam AdGuard na iOS zapewnia najwyższą jakość filtrowania i umożliwia korzystanie z wielu filtrów jednocześnie
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

AdGuard VPN

74 lokalizacje na świecie

Dostęp do wszelkich treści

Silne szyfrowanie

Polityka braku logów

Najszybsze połączenie

Wsparcie 24/7

Wypróbuj za darmo
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

Blokada treści AdGuard

Bloker Zawartości AdGuard wyeliminuje wszystkie rodzaje reklam w przeglądarkach mobilnych, które obsługują technologię blokowania treści - a mianowicie Samsung Internet i Yandex.Browser. Chociaż jest bardziej ograniczony niż AdGuard dla Android, jest darmowy, łatwy w instalacji i nadal zapewnia wysoką jakość blokowania reklam.
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

Rozszerzenie przeglądarki AdGuard

AdGuard to najszybsze i najlżejsze rozszerzenie blokowania reklam, które skutecznie blokuje wszystkie typy reklam na wszystkich stronach internetowych! Wybierz AdGuard dla swojej przeglądarki i uzyskaj szybkie i bezpieczne przeglądanie Internetu pozbawione reklam.
18 588 18588 recenzji
Doskonały!

Asystent AdGuard

Dodatkowe rozszerzenie przeglądarki dla AdGuard aplikacje na komputery. Oferuje dostęp w przeglądarce do takich funkcji, jak blokowanie niestandardowych elementów, tworzenie listy dozwolonych witryn lub wysyłanie raportu.
18 588 18588 recenzji
Doskonały!

AdGuard DNS

AdGuard DNS to alternatywne rozwiązanie do blokowania reklam, ochrony prywatności i kontroli rodzicielskiej. Łatwy w konfiguracji i darmowy, zapewnia niezbędną minimalną ochronę przed reklamami, śledzeniem i phishingiem, bez względu na platformę i urządzenie, z którego korzystasz.
18 588 18588 recenzji
Doskonały!

AdGuard Home

AdGuard Home to sieciowe oprogramowanie blokujące reklamy i śledzenie. Po skonfigurowaniu obejmie on WSZYSTKIE twoje urządzenia domowe i nie potrzebujesz do tego żadnego oprogramowania po stronie klienta. Wraz z rozwojem Internetowych-rzeczy i urządzeń podłączonych do niej coraz ważniejsze staje się kontrolowanie całej sieci.
18 588 18588 recenzji
Doskonały!

AdGuard Pro dla iOS

AdGuard Pro ma wiele do zaoferowania oprócz znakomitego blokowania reklam w Safari znanego już użytkownikom wersji regularnej. Zapewniając dostęp do niestandardowych ustawień DNS, umożliwia blokowanie reklam, ochronę dzieci przed treściami dla dorosłych w Internecie oraz ochronę danych osobowych przed kradzieżą.
Pobierając program, akceptujesz warunki Umowy licencyjnej
Przeczytaj więcej
18 588 18588 recenzji
Doskonały!

AdGuard dla Safari

Rozszerzenia do blokowania reklam w Safari mają trudny czas, ponieważ Apple zaczął zmuszać wszystkich do korzystania z nowego pakietu SDK. Wysoce konfigurowalne i błyskawiczne rozszerzenie blokowania reklam!
18 588 18588 recenzji
Doskonały!

AdGuard Temp Mail

Darmowy generator tymczasowych adresów e-mail, który zapewnia anonimowość i chroni prywatność. Brak spamu w głównej skrzynce odbiorczej!
18 588 18588 recenzji
Doskonały!

AdGuard dla Android TV

AdGuard dla Android TV to jedyna aplikacja, która blokuje reklamy, chroni prywatność i działa jak zapora sieciowa dla Smart TV. Otrzymuj ostrzeżenia o zagrożeniach internetowych, używaj bezpiecznego DNS i korzystaj z szyfrowanego ruchu. Zrelaksuj się i zanurz się w swoich ulubionych programach z najwyższej klasy zabezpieczeniami bez reklam!
Rozpoczęto pobieranie AdGuard Kliknij przycisk wskazany strzałką, aby rozpocząć instalację Wybierz „Otwórz” i kliknij „OK”. Poczekaj aż plik zostanie pobrany. W otwartym oknie, przeciągnij ikonę AdGuard do folderu „Aplikacje”. Dziękujemy za wybrania AdGuard! Wybierz „Otrwórz” i kliknij „OK”. Poczekaj aż plik zostanie pobrany. W otwartym kliknij „Instaluj”. Dziękujemy za wybrania AdGuard!
Zainstaluj również AdGuard dla urządzeń mobilnych