Izbornik
HR

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!

Svidio vam se ovaj post?
18.330 18330 recenzija
Odlično!

AdGuard za Windows

AdGuard za Windows više je od blokatora oglasa. To je višenamjenski alat koji blokira oglase, kontrolira pristup opasnim stranicama, ubrzava učitavanje stranica i štiti djecu od neprimjerenog sadržaja.
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard za Mac

Za razliku od drugih blokera oglasa, AdGuard je dizajniran s mišlju na specifičnosti macOS-a. Ne samo da pruža zaštitu od oglasa u Safariju i drugim preglednicima, već vas štiti i od praćenja, krađe identiteta i prijevara.
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard za Android

AdGuard za Android je idealno rješenje za Android mobilne uređaje. Za razliku od drugih blokera oglasa, AdGuard ne zahtijeva root pristup i pruža širok spektar značajki: filtriranje u aplikacijama, upravljanje aplikacijama i još mnogo toga.
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard za iOS

Najbolji iOS bloker oglasa za iPhone i iPad. AdGuard eliminira sve vrste oglasa u Safariju, štiti vašu privatnost i ubrzava učitavanje stranica. AdGuard za iOS tehnologija blokiranja oglasa osigurava najvišu kvalitetu filtriranja i omogućuje vam upotrebu više filtara istovremeno
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard VPN

74 lokacije u cijelom svijetu

Sigurno strujanje

Snažno šifriranje

Ne sakupljamo zapise

Najbrža veza

24/7 podrška

Isprobajte besplatno
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard Bloker sadržaja

AdGuard Bloker sadržaja eliminirat će sve vrste oglasa u mobilnim preglednicima koji podržavaju tehnologiju blokiranja sadržaja - Samsung Internet i Yandex.Browser. Iako je više ograničen od AdGuarda za Android, besplatan je, jednostavan za instaliranje i još uvijek pruža visoku kvalitetu blokiranja oglasa.
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard Proširenje preglednika

AdGuard je najbrže i najlakše proširenje za blokiranje oglasa koje učinkovito blokira sve vrste oglasa na svim web stranicama! Odaberite AdGuard za preglednik koji koristite i imajte brzo i sigurno pretraživanje Interneta bez oglasa.
18.330 18330 recenzija
Odlično!

AdGuard Pomoćnik

Popratno proširenje preglednika za AdGuard desktop aplikacije. Omogućuje pristup putem preglednika značajkama kao što su blokiranje prilagođenih elemenata, dodavanje web stranica na popis dopuštenih ili slanje izvješća.
18.330 18330 recenzija
Odlično!

AdGuard DNS

AdGuard DNS je siguran način blokiranja internetskih oglasa za koji nije potrebna instalacija aplikacije. Jednostavan je za upotrebu, potpuno besplatan, lako se postavlja na bilo koji uređaj i pruža vam minimum potrebnih funkcija za blokiranje oglasa, brojača, zlonamjernih web stranica i sadržaja za odrasle.
18.330 18330 recenzija
Odlično!

AdGuard Home

AdGuard Home je program za blokiranje oglasa i praćenja na razini cijele mreže. Nakon što ga postavite, on će pokriti SVE vaše kućne uređaje i za to vam ne treba nikakav klijentski program. S porastom popularnosti Internet-Of-Things i povezanih uređaja, postaje sve važnije moći kontrolirati cijelu mrežu.
18.330 18330 recenzija
Odlično!

AdGuard Pro za iOS

AdGuard Pro ima mnogo toga za ponuditi, uz izvrsno blokiranje oglasa za iOS na Safariju s kojim su već poznati korisnici redovite verzije. Omogućujući pristup prilagođenim DNS postavkama, aplikacija vam omogućuje blokiranje oglasa, zaštitu djece od sadržaja za odrasle na mreži i zaštitu vaših osobnih podataka od krađe.
Preuzimanjem programa prihvaćate odredbe licencnog ugovora
Pročitajte više
18.330 18330 recenzija
Odlično!

AdGuard za Safari

Proširenja za blokiranje oglasa za Safari imaju poteškoće od kada je Apple nametnuo da svi koriste novi SDK. AdGuard proširenje će vratiti visokokvalitetno blokiranje oglasa na Safari.
18.330 18330 recenzija
Odlično!

AdGuard Temp Mail

Besplatni generator privremene adrese e-pošte koji vas čuva anonimnim i štiti vašu privatnost. Nema spama u vašem glavnom sandučiću!
18.330 18330 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!
Započelo je preuzimanje AdGuard-a Da biste instalirali AdGuard, kliknite datoteku označenu strelicom Odaberite "Otvori" i pritisnite "U redu", te zatim pričekajte da se datoteka preuzme. U otvorenom prozoru povucite ikonu AdGuarda u mapu "Aplikacije". Hvala što ste odabrali AdGuard! Odaberite "Otvori" i pritisnite "U redu", potom pričekajte da se datoteka preuzme. U otvorenom prozoru pritisnite "Instaliraj". Hvala vam što ste izabrali AdGuard!
Također instalirajte AdGuard za mobilne uređaje