在Mac上,第三方广告拦截扩展程序(或内容拦截器)可以补充Safari中已经内置的反跟踪功能(anti-tracking features)。它们还可以通过阻止突兀的广告来帮助提供无干扰的浏览体验。然而,找到一个像样的Safari广告拦截器可能是一个相当大的挑战。
从Safari 13开始,Apple改变了广告拦截扩展的工作方式。它们不再发挥积极作用,而是提供浏览器使用的“规则”,然后自行阻止广告和跟踪器。
从安全的角度来看,这是理想的,因为内容拦截器无法看到您的浏览活动。但与以前的情况相比,它们并不多才多艺。
更糟糕的是,Mac App Store上大多数最新的广告拦截器都需要预付费用或附带应用内购买才能获得基本的内容拦截功能,这是不可接受的。
在扫描了Mac App Store并测试了十几个内容拦截器之后,我们最终列出了三个开源且完全免费使用 的Safari广告拦截器扩展。(Safari)
它们在Can You Block It和AdBlock Tester等网站上表现良好,并且在常规使用期间几乎屏蔽了所有广告。它们如下:
将您支持的网站列入白名单(Whitelist Sites That You Support)
如果您决定使用Safari广告拦截器,请将您认为有帮助的网站(例如我们的网站)列入白名单。广告通常很烦人。但它们也帮助我们保持灯亮。我们将始终尽力不以干扰您浏览体验的方式展示广告。
顾名思义,Ghostery Lite是一款轻量级的广告拦截器。但它也可以合理地定制。对于初学者来说,该扩展程序带有三个单独的过滤器列表而不是一个,为Safari提供了比典型的内容拦截器更多的阻止广告和跟踪器的规则。
您可以从Safari(Safari)地址栏的右侧调出Ghostery Lite菜单,显示网站的加载速度。如果需要,您可以选择暂停(Pause)图标并重新加载选项卡以检查速度差异,而无需使用扩展程序。
Ghostery 菜单还带有一个Trust Site按钮,您可以选择该按钮将您正在查看的任何网站列入白名单。它还允许您在两种内容阻止设置模式之间切换——默认保护(Default Protection)和自定义保护(Custom Protection)。
默认保护(Default Protection)设置使用一组标准规则来阻止大多数广告和跟踪器,而不会导致站点中断。另一方面,自定义保护设置允许您指定要阻止的内容的确切 类型。(Custom Protection)
您可以通过打开Ghostery Lite控制面板(选择Ghostery Lite菜单上的三个点(three-dots))并切换到设置(Settings)选项卡来管理自定义保护设置。(Custom Protection)例如,您可以选择保留与社交媒体相关的内容,同时阻止其他所有内容。
如果要管理白名单,请切换到受信任的站点(Trusted Sites)选项卡。然后,您可以直接添加或删除网站。
AdGuard for Safari的工作方式与具有大量自定义选项的传统广告拦截扩展程序有些相似。它还具有多达六个独立的过滤器,每个过滤器都针对特定类型的内容,例如广告、站点跟踪器、社交媒体等。
与Ghostery Lite(Ghostery Lite)相比,这是过滤器数量的两倍多,尽管在测试扩展程序时我们没有注意到被屏蔽广告的数量存在巨大差异。
Safari工具栏上的AdGuard菜单可让您通过取消选中在此网站上启用(Enabled on this website)框轻松将网站列入白名单。它还提供了一个标记为Block an element的选项。选择它,您可以选择站点中的任何元素(即使它不是广告),扩展程序将自动为其创建自定义规则。这样,您就可以阻止站点中的任何困扰您的内容!
AdGuard设置(AdGuard Settings)窗格可让您自定义扩展。您可以通过选择AdGuard 菜单上的设置图标来访问它。(Settings )常规(General)选项卡使您能够管理通知和更新间隔等各个方面,而过滤器选项卡允许您切换(Filters)AdGuard使用的多个过滤器列表。
您还可以使用白名单(Allowlist)和用户规则(User Rules)选项卡分别管理白名单和自定义站点规则。如果您熟悉CSS 或 HTML(CSS or HTML),您也可以输入自己的规则,而无需依赖 AdGuard 的元素选择器。
AdGuard按设计在后台运行,因此您会在 Mac 的菜单栏上看到一个AdGuard图标。(AdGuard)您可以使用它来关闭扩展程序、检查过滤器列表的更新或快速进入AdGuard 设置(AdGuard Settings)窗格。
如果您想要一个简单的Safari广告拦截器,您可以设置并忘记,Ka-Block!
应该做得很好。安装它,你就可以开始了!没有菜单或扩展菜单可以浏览。甚至是Ka-Block!扩展窗口只是一个巨大的闪屏。
与适用于Safari的(Safari)Ghostery Lite和AdGuard相比,Ka-Block!在阻止广告方面做得不错。但是,我们确实发现了奇怪的横幅广告或弹出窗口。卡块(Ka-Block)!只有一个过滤器列表,这可能足以解释原因。
卡块!没有内置白名单,但您可以使用 Safari 自己的内容拦截(Content Blockers)器例外列表。每当您要排除网站时,请选择Safari工具栏上的(Safari)网站首选项(Website Preferences)图标,然后取消选中启用内容阻止(Enable content blockers)程序旁边的框。
如果您想管理Content Blockers例外列表,请选择菜单栏上的Safari ,选择(Safari)Preferences,切换到Websites选项卡,然后选择Content Blockers。
做你的选择(Make Your Pick)
上面的每个Safari广告拦截器都有其独特的特性。如果您喜欢适当的自定义级别,请选择 AdGuard(Choose AdGuard) for Safari , Ka-Block!纯粹为了方便,或者如果您想要两者的平衡,则选择Ghostery Lite 。无论(Regardless)您选择什么,您都应该能够在在线浏览时避免大量烦人的广告。
3 Best Safari Ad Blockers for Mac
On the Mac, third-party ad-blocking extensions (or content blockers) can complement the anti-tracking features already built into Safari. They can also help provide a distraction-free browsing experience by blocking obtrusive advertisements. However, finding a decent Safari ad blocker can be quite a challenge.
Starting Safari 13, Apple changed how ad blocking extensions work. They no longer play an active role, but instead provide ‘rules’ that the browser then uses to block ads and trackers all by itself.
From a security standpoint, that is ideal since content blockers can’t see your browsing activity. But they aren’t as versatile compared to how things were before.
To make matters worse, most up-to-date ad blockers on the Mac App Store require an upfront payment or come with in-app purchases for basic content blocking features, which is unacceptable.
After scanning the Mac App Store and testing over a dozen content blockers, we eventually came up with a list of three Safari ad blocker extensions that are open source and completely free to use.
They performed well at sites such as Can You Block It and AdBlock Tester, and blocked nearly all ads during regular use. They are as follows:
- Ghostery Lite
- AdGuard for Safari
- Ka-Block!
Whitelist Sites That You Support
If you decide to use a Safari ad blocker, please whitelist websites such as ours that you find helpful. Advertisements can often be annoying to deal with. But they also help us keep the lights on. We shall always try our best not to display ads in a way that intrudes on your browsing experience.
As its name implies, Ghostery Lite is a lightweight ad blocker. But it’s also reasonably customizable. For starters, the extension comes with three separate filter lists instead of one, providing Safari with more rules for blocking ads and trackers than a typical content blocker.
The Ghostery Lite menu, which you can bring up from the right side of the Safari address bar, reveals how fast a site has loaded. If you want, you can select the Pause icon and reload the tab to check the difference in speed without the extension in play.
The Ghostery menu also sports a Trust Site button that you can select to whitelist any website you are viewing immediately. It also allows you to switch between two modes of content blocking settings—Default Protection and Custom Protection.
The Default Protection setting uses a standard set of rules that block most advertisements and trackers without causing sites to break. The Custom Protection setting, on the other hand, lets you specify the exact types of content that you want to block.
You can manage the Custom Protection settings by opening the Ghostery Lite control panel (select the three-dots on the Ghostery Lite menu) and switching to the Settings tab. You can, for example, choose to leave social media-related content intact while blocking everything else.
If you want to manage your whitelist, switch to the Trusted Sites tab. You can then add or remove websites directly.
AdGuard for Safari works slightly similar to a traditional ad blocking extension with a host of customization options. It also features up to six separate filters, each targeting specific types of content such as advertisements, site trackers, social media, and so on.
That’s more than twice the number of filters compared to Ghostery Lite, although we didn’t notice a massive difference in the number of blocked ads while testing the extension.
The AdGuard menu on the Safari toolbar let you easily whitelist websites by unchecking the Enabled on this website box. It also provides an option labeled Block an element. Select it, and you can pick any element within a site (even if it’s not an advertisement) and the extension will automatically create a custom rule for it. This way, you block anything in a site that bugs you!
The AdGuard Settings pane lets you customize the extension. You can get to it by selecting the Settings icon on the AdGuard menu. The General tab enables you to manage various aspects such as notifications and update intervals, while the Filters tab allows you to toggle the multiple filter lists that AdGuard uses.
You can also use the Allowlist and User Rules tabs to manage the whitelist and custom site rules, respectively. If you are familiar with CSS or HTML, you can also enter your own rules without relying on AdGuard’s element picker.
AdGuard runs in the background by design, so you will see an AdGuard icon on the Mac’s menu bar. You can use it to close the extension, check for updates to the filter lists, or get to the AdGuard Settings pane quickly.
If you want a simple Safari ad blocker that you can just set up and forget, Ka-Block!
should do the job just fine. Install it, and you are good to go! There are no menus or extension menus to wade through. Even the Ka-Block! extension window is just one colossal splash screen.
Compared to Ghostery Lite and AdGuard for Safari, Ka-Block! did a decent job at blocking advertisements. However, we did find the odd banner ad or pop-up window to creep through. Ka-Block! features only one filter list, which is probably enough reason to explain why.
Ka-Block! doesn’t come with a built-in whitelist, but you can use Safari’s own Content Blockers exception list instead. Whenever you want to exclude a website, select the Website Preferences icon on the Safari toolbar and uncheck the box next to Enable content blockers.
If you want to manage the Content Blockers exceptions list, select Safari on the menu bar, choose Preferences, switch to the Websites tab, and select Content Blockers.
Make Your Pick
Each of the Safari ad blockers above comes with its unique trait. Choose AdGuard for Safari if you prefer a decent level of customization, Ka-Block! for pure convenience, or Ghostery Lite if you want a balance of both. Regardless of your pick, you should be able to avoid lots of annoying ads while browsing online.