没有人喜欢他们的内容被烦人的广告打断,尤其是当它们变得更长、更频繁时。这就是为什么我们有像 uBlock Origin这样的(Origin)广告拦截器(ad-blockers)来免除我们的折磨。不幸的是,屏蔽广告是一种乏味的猫捉老鼠游戏,YouTube和Twitch等平台不断开发新的方法来绕过拦截器。因此,如果 uBlock Origin不再工作,您需要尝试我们的修复程序之一。
在本文中,我们将向您展示当 uBlock Origin浏览器扩展不再阻止YouTube或Twitch广告时,您可以采取哪些措施来修复它。有时您需要做的就是清除您的 cookie 或浏览器缓存,但有时,阻止程序停止工作,您需要一个替代方案。所以请继续阅读,因为除了修复之外,我们还将为您提供一些其他选项。
1.清除浏览器缓存
随着时间的推移,您的浏览器会收集许多不必要的文件,这些文件会阻塞所有内容并阻止 uBlock 来源正常工作。因此,在尝试其他任何事情之前,请确保您阅读了我们关于如何清除任何 Web 浏览器缓存的(how to clear the cache of any web browser)详尽指南。
2.更新uBlock Origin
YouTube和Twitch有时(Twitch)都会设法占据上风并绕过您的广告拦截器。因此,请确保 uBlock Origin始终是最新的。要更新您的广告拦截器,您需要转到浏览器的插件或插件页面。在本文中,我们将以Firefox为例,但在Google Chrome和其他浏览器中,步骤应该相似且易于遵循。
1.从屏幕右上角打开应用程序菜单,然后从列表中选择(Application Menu)附加组件和主题(Add-ons and Themes)。
2. 在主页面,你会找到 uBlock Origin。单击(Click)三个点图标以打开插件菜单并选择更新(Update)。
您的广告拦截器现已更新。再次尝试流式传输,看看它是否按预期工作。如果没有,请继续下一步。
3.尝试不同的浏览器
在某些情况下,阻止Twitch广告适用于一种浏览器,但不适用于另一种浏览器。使用不同的浏览器 测试 uBlock Origin并检查视频广告是否开始播放。(Origin)
4. 使用开发者构建
最新版本的 uBlock Origin不一定是最新的。为了抢占先机,您可能想尝试一个仍在开发中的版本,因为它具有最新的广告拦截功能。
要安装开发人员版本,您需要前往Github。您会看到标记为Pre-release的多个 uBlock (Pre-release)Origin版本。要安装uBlock Origin 预发行版(uBlock Origin pre-releases),请按照每个版本的说明进行操作。
请记住,开发人员构建并不总是稳定的,您可能会遇到一些仍然需要解决的错误。
5.使用自定义脚本
将脚本添加到插件是一种高级技术。如果您对自定义浏览器扩展和使用脚本感到不自在,请跳过此步骤。但是,如果您搞砸了,您可以简单地重新安装广告拦截器。
这是添加自定义脚本所需执行的操作。
1.返回加载项和主题(Add-ons and Themes)面板并单击uBlock Origin。
2.点击uBlock Origin(Origin)旁边的三个点图标,这次选择选项(Options)。您可以在“更新”下找到它。(Update.)” 这将打开 uBlock Origin仪表板。
3.从设置面板中选择(Settings)我是高级用户(I am an advanced user),然后单击齿轮图标。
4. 您将看到一个充满代码的页面。我们对第 44 行感兴趣,即userResourcesLocation。默认情况下,它设置为“未设置”。” 将其更改(” Change)为指向您要使用的自定义脚本的URL 。阻止Twitch(Twitch)广告的好脚本是https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/notify-strip/notify-strip-ublock-origin.js。
5.粘贴脚本URL后单击Apply Changes按钮。
我们示例中的脚本将尝试诱使Twitch认为您已经看过广告。此外,它还会重新加载Twitch播放器,直到广告消失。您可以在 Github 上了解有关Twitch 的这些自定义脚本的更多信息。(custom scripts for Twitch)
uBlock Origin 的替代品
如果上述修复不起作用并且您仍然收到Twitch或YouTube广告,您应该寻找阻止广告的替代方法。在本节中,我们将探索VPN(VPNs)、替代Twitch播放器以及其他可让您享受无广告流媒体的选项。也就是说,uBlock Origin应该适用于YouTube广告,因此我们将主要关注Twitch。
1. 订阅 Twitch Turbo 和 YouTube Premium(1. Subscribe to Twitch Turbo and YouTube Premium)
如果你不能打败他们,就加入他们。避免Twitch广告的最简单方法是以每月 8.99 美元的价格订阅Twitch Turbo 。您将不再收到前贴片广告或插播广告;但是,您偶尔会看到一些特别促销活动。
您还可以通过YouTube Premium(YouTube Premium)获得类似的优惠。订阅价格取决于您居住的地方,但重要的是您将不再看到任何类型的广告。您还可以选择一个家庭计划,该计划将以大幅折扣授予多达 5 人的高级会员资格。
2. 试试 AdGuard(2. Try AdGuard)
AdGuard 与 uBlock Origin一样,是一种流行的广告拦截器。它是开源的,因此是免费的,因此值得尝试看看它是否在 uBlock 失败的地方成功。安装它并试一试。
3.使用VPN(3. Use a VPN)
虚拟专用网络(Private Networks)将隐藏您的实际 IP 地址,并让您通过位于不同国家/地区的服务器进行连接。例如,如果您居住在美国,您可以使用VPN诱使Twitch相信您在匈牙利(Hungary)。但这与阻止Twitch和YouTube广告有什么关系?
有些国家/地区不显示Twitch广告。(Twitch)匈牙利(Hungary)、塞尔维亚(Serbia)、哥斯达黎加(Costa Rica)、俄罗斯(Russia)、乌克兰(Ukraine)和马其顿(Macedonia)就是这些国家的例子。
订阅(Subscribe)可靠的VPN服务提供商,该服务提供商提供快速的流媒体服务器以获得最佳体验。一些最好的 VPN(best VPNs)包括ExpressVPN、NordVPN、 CyberGhost VPN(CyberGhost VPN)和PIA VPN。
4. 观看视频点播(4. Watch VOD)
如果您不介意跳过活动的直播,视频(Video)点播是一个不错(Demand)的选择。uBlock Origin将阻止作为(Origin)VOD一部分的所有前贴片广告和插播广告,因此您可以享受无广告流媒体。
5. Twitchls.com
Twitchls是一个可以在没有广告的情况下播放实时视频内容的网站。要使用它,您需要更改 twitch.tv URL。
- 选择(Choose)您想观看的任何Twitch直播。
- 在浏览器中将 URL 编辑为twitchls.com而不是 twitch.tv。保持URL(URL)的其余部分不变。
6. 使用 Twitch.tv 的备用播放器(6. Use Alternate Player for Twitch.tv)
如果 uBlock Origin仍未阻止Twitch广告,请安装备用播放器插件(Alternate Player addon)。这个新播放器会隐藏Twitch广告,uBlock Origin会屏蔽嵌入的广告。此外,它还具有各种有用的功能,例如用于听音乐的“纯音频”和许多自定义选项。
你是如何阻止YouTube和Twitch广告的?在下面的评论中让我们知道!
uBlock Origin Not Blocking YouTube and Twitch Ads? 11 Ways to Fix
Nobody likes their contеnt interrupted by annoying ads, espеcially when they become longer and more frequent. That’s why we haνe ad-blockers like uBlock Origin to spare us the torture. Unfortunately, blocking ads is a tedious cat and mouse game where platforms like YouTube and Twitch continuously develop new ways to bypass the blocker. So if uBlock Origin is not working anymore, you need to try one of our fixes.
In this article, we’re going to show you what you can do to fix the uBlock Origin browser extension when it’s no longer blocking YouTube or Twitch ads. Sometimes all you need to do is clear your cookie or the browser cache, but now and then, the blockers stop working, and you need an alternative. So keep reading because, in addition to fixes, we’ll also provide you with some other options.
1. Clear the Browser Cache
Over time, your browser collects many unnecessary files that clog everything up and prevent uBlock origin from working correctly. So before trying anything else, make sure you read our extensive guide on how to clear the cache of any web browser.
2. Update uBlock Origin
Both YouTube and Twitch will sometimes manage to get the upper hand and circumvent your ad blocker. So make sure uBlock Origin is always up-to-date. To update your adblocker, you’ll need to go to your browser’s addons or plugins page. In this article, we will use Firefox as an example, but the steps should be similar and easy to follow in Google Chrome and other browsers.
1. Open the Application Menu from the top right corner of your screen and select Add-ons and Themes from the list.
2. On the main page, you’ll find uBlock Origin. Click on the three dots icon to open the addon’s menu and select Update.
Your ad blocker is now up to date. Try streaming once again to see if it works as intended. If not, proceed to the next step.
3. Try a Different Browser
In some cases, blocking Twitch ads works on one browser but not the other. Test uBlock Origin using a different browser and check if a video ad starts playing.
4. Use the Developer Build
The latest version of uBlock Origin isn’t necessarily the newest. To get ahead of the game, you might want to try a build that’s still in development because it has the latest ad-blocking features.
To install the developer build, you need to head over to Github. You’ll see several versions of uBlock Origin that are labeled as Pre-release. To install uBlock Origin pre-releases, follow the instructions given for each version.
Keep in mind that developer builds aren’t always stable, and you might encounter some bugs that still need to be ironed out.
5. Use a Custom Script
Adding scripts to an addon is an advanced technique. Skip this step if you don’t feel comfortable customizing browser extensions and playing with scripts. However, you can simply reinstall the ad-blocker if you mess anything up.
Here’s what you need to do to add a custom script.
1. Go back to the Add-ons and Themes panel and click on uBlock Origin.
2. Click on the three dots icon next to uBlock Origin and this time select Options. You’ll find it right under “Update.” This will open the uBlock Origin dashboard.
3. Select I am an advanced user from the Settings panel and then click on the cog icon.
4. You’ll see a page filled with code. We’re interested in line 44, which is userResourcesLocation. By default, it’s set to “unset.” Change it to a URL that leads to the custom script you want to use. A good script for blocking Twitch ads is https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/notify-strip/notify-strip-ublock-origin.js.
5. Click on the Apply Changes button after pasting the script URL.
The script in our example will try to trick Twitch into thinking that you’ve already seen the ad. Additionally, it will also reload the Twitch player until the ads disappear. You can learn more about these custom scripts for Twitch on Github.
Alternatives to uBlock Origin
If the fixes above didn’t work and you’re still getting Twitch or YouTube ads, you should look into alternative ways of blocking ads. In this section, we’re going to explore VPNs, an alternative Twitch player, and other options that will allow you to enjoy ad-free streaming. That said, uBlock Origin should work on YouTube ads, so we’ll mainly focus on Twitch.
1. Subscribe to Twitch Turbo and YouTube Premium
If you can’t beat them, join them. The simplest way to avoid Twitch ads is by subscribing to Twitch Turbo for $8.99 per month. You’ll no longer get pre-roll or mid-roll ads; however, you’ll occasionally see some special promotions.
You can also get a similar deal with YouTube Premium. The price for the subscription depends on where you live, but what’s important is that you’ll no longer see any kind of ads. You can also opt for a family plan that will grant up to 5 people premium membership at a significant discount.
2. Try AdGuard
AdGuard, like uBlock Origin, is a popular ad-blocker. It’s open-source and therefore free, so it’s worth trying to see if it succeeds where uBlock fails. Install it and give it a shot.
3. Use a VPN
Virtual Private Networks will hide your actual IP address and let you connect through a server located in a different country. For example, if you live in the US, you can use a VPN to trick Twitch into believing that you’re in Hungary. But what does this have to do with blocking Twitch and YouTube ads, you ask?
There are some countries where Twitch ads aren’t displayed. Hungary, Serbia, Costa Rica, Russia, Ukraine, and Macedonia are examples of such countries.
Subscribe to a reliable VPN service provider that offers fast servers for streaming to get the best experience. Some of the best VPNs include ExpressVPN, NordVPN, CyberGhost VPN, and PIA VPN.
4. Watch VOD
If you don’t mind skipping the live stream of an event, Video on Demand is a great option. uBlock Origin will block all the pre-roll and mid-roll ads that are part of the VOD so you can enjoy ad-free streaming.
5. Twitchls.com
Twitchls is a site that can play live video content without the ads. To use it, you need to change the twitch.tv URL.
- Choose any Twitch live stream you want to watch.
- Edit the URL in your browser to twitchls.com instead of twitch.tv. Keep the rest of the URL as it was.
6. Use Alternate Player for Twitch.tv
If uBlock Origin is still not blocking Twitch ads, install the Alternate Player addon. This new player will hide Twitch ads, and uBlock Origin will block the embedded ads. Additionally, it comes with various useful features like “audio-only” for music listening and many customization options.
How did you manage to block YouTube and Twitch ads? Let us know in the comments below!