Meni
SL

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!

Vam je bila objava všeč?
18.314 18314 ocen uporabnikov
Odlično!

AdGuard za Windows

AdGuard za Windows ni le še en zaviralec oglasov, je večnamensko orodje, ki združuje vse potrebne funkcije za najboljšo spletno izkušnjo. Onemogoča oglase in nevarne spletne strani, pospeši nalaganje strani in ščiti vaše otroke, ko so na spletu.
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard za macOS

Za razliko od drugih zaviralcev oglasov je AdGuard zasnovan z upoštevanjem posebnosti macOS. Ne zagotavlja le obrambe pred oglasi v Safariju in drugih brskalnikih, ampak vas tudi ščiti pred sledenjem, lažnim predstavljanjem in goljufijami.
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard za Android

AdGuard za Android je idealna rešitev za mobilne naprave Android. V nasprotju z drugimi zaviralci oglasov AdGuard ne potrebuje korenskega dostopa in ponuja širok spekter funkcij: filtriranje v aplikacijah, upravljanje aplikacij in še veliko več.
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard za iOS

Najboljši blokator oglasov iOS za iPhone in iPad. AdGuard odstrani vse vrste oglasov v Safariju, ščiti vašo zasebnost in pospeši nalaganje strani. Tehnologija blokiranja oglasov AdGuard za iOS zagotavlja filtriranje najvišje kakovosti in omogoča uporabo več filtrov hkrati
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard VPN

74 lokacij svetovnega spleta

Dostop do katere koli vsebine

Močno šifriranje

Politika 'Brez dnevnikov'

Najhitrejša povezava

stalna podpora

Poskusite brezplačno
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard Zaviralec vsebine

AdGuard Zaviralec oglasov bo odstranil vse vrste oglasov v mobilnih brskalnikih, ki podpirajo tehnologijo zaviralcev vsebin — in sicer Samsung Internet in Yandex.Browser. Čeprav je bolj omejen kot AdGuuard za Android, je brezplačen, preprost za namestitev in še vedno zagotavlja visoko kakovost onemogočanja oglasov.
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard Razširitev brskalnika

AdGuard je najhitrejša in najlažja razširitev za zaviranje oglasov, ki učinkovito onemogoča vse vrste oglasov na vseh spletnih straneh! Za brskalnik, ki ga uporabljate, izberite AdGuard in hitro ter varno brskajte brez oglasov.
18.314 18314 ocen uporabnikov
Odlično!

AdGuard Pomočnik

Spremljevalna razširitev brskalnika za AdGuard namizno aplikacijo. Ponuja dostop do takšnih funkcij v brskalniku, kot so zaviranje elementov po meri, seznam dovoljenih spletnih strani ali pošiljanje poročila.
18.314 18314 ocen uporabnikov
Odlično!

AdGuard DNS

AdGuard DNS je brezhiben način zaviranja internetnih oglasov, ki ne zahteva nameščanja nobenih aplikacij. Je preprost za uporabo, popolnoma brezplačen, enostavno nastavljiv na kateri koli napravi in vam zagotavlja minimalne potrebne funkcije za zaviranje oglasov, števcev, zlonamernih spletnih strani in vsebine za odrasle.
18.314 18314 ocen uporabnikov
Odlično!

AdGuard Home

AdGuard Home je omrežni program za zaviranje oglasov in sledenja. Ko ga nastavite, bo pokril VSE vaše domače naprave in za to ne potrebujete nobenih programov na strani odjemalca. Z dvigom internetnih zadev in povezanih naprav, postaja vse bolj pomembno, da lahko nadzorujete celotno omrežje.
18.314 18314 ocen uporabnikov
Odlično!

AdGuard Pro za iOS

AdGuard Pro ima močno ponudbo odličnega onemogočanja oglasov za iOS v Safariju, ki ga uporabniki redne različice že poznajo. Z zagotavljanjem dostopa do nastavitev DNS po meri aplikacija omogoča zaviranje oglasov, zaščito vaših otrok pred vsebino za odrasle na spletu in varovanje vaših osebnih podatkov pred krajo.
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
18.314 18314 ocen uporabnikov
Odlično!

AdGuard za Safari

Razširitve oglasov za zaviranje oglasov za Safari imajo težave, odkar je Apple začel vsiljevati vse, da uporabljajo nov SDK. Razširitev AdGuarda naj bi vrnila visoko kakovostno onemogočanje oglasov nazaj v Safari.
18.314 18314 ocen uporabnikov
Odlično!

AdGuard Temp Mail

Brezplačen ustvarjalec začasnih elektronskih naslovov, ki vas ohranja anonimne in ščiti vašo zasebnost. Brez neželene pošte v vašem glavnem predalu!
18.314 18314 ocen uporabnikov
Odlično!

AdGuard za Android TV

AdGuard za Android TV je edina aplikacija, ki zavira oglase, varuje vašo zasebnost in deluje kot požarni zid za vaš Smart TV. Prejmite opozorila o spletnih grožnjah, uporabite varen DNS in izkoristite šifriran promet. Sprostite se in se potopite v svoje najljubše oddaje z vrhunsko varnostjo in brez oglasov!
Prenos AdGuarda Za namestitev AdGuarda kliknite gumb, označen s puščico Izberite 'Odpri' in kliknite na 'Vredu', nato pa počakajte, da se datoteka prenese. V odprtem oknu povlecite ikono AdGuarda in jo spustite v mapo 'Aplikacije'. Hvala, ker ste izbrali AdGuard! Izberite 'Odpri' in kliknite na 'Vredu', nato pa počakajte, da se datoteka prenese. V odprtem oknu kliknite na 'Namesti'. Hvala, ker ste izbrali AdGuard!
Namestite AdGuard na svojo mobilno napravo