meni
SR

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!

Svidela vam se ova objava?
18.319 18319 recenzija
Odlično!

AdGuard za Windows

AdGuard za Windows je više od blokatora reklama. To je višenamenska alatka koja blokira reklame, kontroliše pristup opasnim lokacijama, ubrzava učitavanje stranica i štiti decu od neprikladnog sadržaja.
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard za Mac

AdGuard za Mac je jedinstveni blokator reklama dizajniran sa macOS-om na umu. Pored toga što vas štiti od dosadnih oglasa u pregledačima i aplikacijama, štiti vas od praćenja, phishinga i prevare.
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard za Android

AdGuard za Android je idealno rešenje za Android mobilne uređaje. za razliku od drugih blokatora reklama, AdGuard ne zahteva root pristup i donosi širok spektar mogućnosti: filtriranje u aplikacijama, upravljanje aplikacijama i još mnogo toga.
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard za iOS

Najbolji blokator reklama za iPhone i iPad na iOS-u. AdGuard eliminiše sve vrste reklama u Safariju, štiti vašu privatnost i ubrzava učitavanje stranica. AdGuard za iOS koristi tehnologiju blokiranja reklama koja garantuje najviši kvalitet filtriranja i omogućava vam da istovremeno koristite više filtera
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard VPN

74 lokacija širom sveta

Pristup bilo kom sadržaju

Jako šifrovanje

Nema prikupljanja dnevnika

Najbrža veza

24/7 podrška

Probajte besplatno
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard blokator sadržaja

AdGuard blokator sadržaja će eliminisati sve reklame u mobilnim preglednicima koji podržavaju tehnologiju blokatora sadržaja. Tu spadaju Samsung Internet i Yandex.Browser. Iako je prilično ograničen u odnosu na AdGuard za Android, besplatan je, lako se instalira i ima visok kvalitet blokiranja reklama.
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard proširenje za preglednike

AdGuard je najbrže i najlakše proširenje za blokiranje reklama koje uspešno blokira sve vrste reklama na svim veb stranicama! Izaberite AdGuard za preglednik koji koristite i uživajte u surfovanju bez reklama, koje će postati sigurno i brzo.
18.319 18319 recenzija
Odlično!

AdGuard pomoćnik

Pridruženo proširenje za preglednike za AdGuard aplikacije radne površine. Nudi pristup iz preglednika mogućnostima kao što su prilagođeno blokiranje elemenata, dodavanje sajta na belu listu ili slanje prijave.
18.319 18319 recenzija
Odlično!

AdGuard DNS

AdGuard DNS je alternativno rešenje za blokiranje reklama, zaštitu privatnosti i roditeljsku kontrolu. Lako se postavlja i besplatan je za korišćenje. On obezbeđuje neophodni minimum zaštite od reklama na mreži, praćenja i fišinga, bez obzira koju platformu i uređaj koristite.
18.319 18319 recenzija
Odlično!

AdGuard Home

AdGuard Home je mrežni softver za blokiranje reklama i praćenja. Nakon što ga podesite, pokrivaće SVE vaše kućne uređaje i neće vam trebati nijedan klijentski softver za to. Sa porastom IoT i povezanih uređaja, postaje sve važnija mogućnost kontrolisanja vaše čitave mreže.
18.319 18319 recenzija
Odlično!

AdGuard Pro za iOS

AdGuard Pro nudi mnogo više od odličnog blokiranja reklama u Safariju koje je poznato korisnicima regularne verzije. Donoseći pristup prilagođenim DNS postavkama, dozvoljeno vam je da blokirate reklame, zaštitite vašu decu od sadržaja za odrasle na mreži i da zaštitite vaše lične podatke od krađe.
Preuzimanjem programa prihvate uslove licenčnog ugovora
Saznajte više
18.319 18319 recenzija
Odlično!

AdGuard za Safari

Proširenja za blokiranje reklama za Safari su u teškom položaju odkad je Apple započeo da nameće korišćenje novog SDK-a. AdGuard proširenje će se vratiti sa najkvalitetnijim blokiranjem reklama u Safariju.
18.319 18319 recenzija
Odlično!

AdGuard Temp Mail

Besplatan generator privremenih email adresa koji vas čuva anonimnim i štiti vašu privatnost. Nema spama u vašem glavnom sandučetu!
18.319 18319 recenzija
Odlično!

AdGuard za Android TV

AdGuard for Android TV is the only app that blocks ads, guards your privacy, and acts as a firewall for your Smart TV. Get warnings about web threats, use secure DNS, and benefit from encrypted traffic. Relax and dive into your favorite shows with top-notch security and zero ads!
Preuzimanje AdGuard Da biste instalirali AdGuard, kliknite na datoteku označenu strelicom Izaberite „Otvori“ i kliknite na „U redu“, a zatim sačekajte da se datoteka preuzme. U otvorenom prozoru prevucite ikonu AdGuard u fasciklu „Aplikacije“. Hvala vam što ste izabrali AdGuard! Izaberite „Otvori“ i kliknite na „U redu“, a zatim sačekajte da se datoteka preuzme. U otvorenom prozoru kliknite na „Instaliraj“. Hvala vam što ste izabrali AdGuard!
Instalirajte AdGuard na svoj mobilni uređaj