{"id":44384,"date":"2024-08-07T16:09:16","date_gmt":"2024-08-07T20:09:16","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=44384"},"modified":"2024-09-20T14:40:38","modified_gmt":"2024-09-20T18:40:38","slug":"safari-distraction-control","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2024\/08\/07\/safari-distraction-control\/","title":{"rendered":"Safari Distraction Control"},"content":{"rendered":"<p><a href=\"https:\/\/techcrunch.com\/2024\/08\/05\/apples-new-safari-feature-removes-distracting-items-from-websites\/\">Ivan Mehta<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=41163536\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/techcrunch.com\/2024\/08\/05\/apples-new-safari-feature-removes-distracting-items-from-websites\/\"><p>Safari&rsquo;s newest feature, Distraction Control, can remove distracting elements from a website. The feature follows Arc Browser&rsquo;s <a href=\"https:\/\/techcrunch.com\/2023\/05\/25\/arc-browsers-new-tool-lets-you-remove-some-elements-from-a-website\/\">addition of Boosts <\/a>last year, which similarly lets users remove features from a site and further customize its appearance.<\/p><p>Apple is rolling out the early version of the feature this week through new developer betas of iOS 18, iPadOS 18 and macOS Sequoia.<\/p><p>Users can access the Distraction Control tool from the Page Menu in the Smart Search field. They then select the item on the website they want to remove. Safari will remember to remove the elements the next time they visit the site. The choice doesn&rsquo;t currently sync across hardware, however, so users will have to hide the elements on each new device.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/9to5mac.com\/2024\/08\/05\/ios-18-distraction-control-feature-in-safari\/\">Chance Miller<\/a> (<a href=\"https:\/\/apple.slashdot.org\/story\/24\/08\/05\/2033252\/apple-debuts-new-distraction-control-feature-for-safari\">Slashdot<\/a>):<\/p>\n<blockquote cite=\"https:\/\/9to5mac.com\/2024\/08\/05\/ios-18-distraction-control-feature-in-safari\/\">\n<p>Apple also emphasizes that this feature is not meant to serve as an ad blocker. While a user can technically use Distraction Control to hide an ad on a website temporarily, that ad will re-appear when the page is refreshed or otherwise reloaded. In fact, the first time a user activates Distraction Control, Safari will display a pop-up that emphasizes the feature will not permanently remove ads or other areas of a website that frequently change.<\/p>\n<p>If a user chooses to hide something like a GDPR banner or a cookies request pop-up, Distraction Control behaves in the same way as if the user manually clicked to dismiss that pop-up. This means Distraction Control will serve as neither an &ldquo;Accept&rdquo; nor &ldquo;Decline&rdquo; for that cookies request.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@lapcatsoftware\/112912150269511176\">Jeff Johnson<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@lapcatsoftware\/112912150269511176\">\n<p>I discovered that if you hide distracting items in a private window, your settings will be preserved in memory after closing the private window and applied to other private windows, but your settings won&rsquo;t be applied to non-private windows or saved to disk.<\/p>\n<p>However, if you hide distracting items in a non-private window, your settings will be saved to disk and also applied to private windows.<\/p>\n<p>Your hidden item settings are stored on disk in <tt>~\/Library\/Safari\/UserDefinedContentBlockers.db<\/tt> on macOS. This is an SQLite database.<\/p>\n<p>[&#8230;]<\/p>\n<p>It appears to be using the Safari content blockers API. The db saves a website domain, a CSS selector, and a binary plist containing various other data[&#8230;]<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2024\/07\/18\/safari-18-announced\/\">Safari 18 Announced<\/a><\/li>\n<\/ul>\n\n<p id=\"safari-distraction-control-update-2024-08-08\">Update (2024-08-08): <a href=\"https:\/\/appleinsider.com\/articles\/24\/06\/14\/what-happened-to-safari-web-eraser----the-controversy-and-what-it-looked-like\">Marko Zivkovic<\/a>:<\/p>\n<blockquote cite=\"https:\/\/appleinsider.com\/articles\/24\/06\/14\/what-happened-to-safari-web-eraser----the-controversy-and-what-it-looked-like\"><p>Web Eraser was Apple&rsquo;s built-in content-blocker, found in pre-release development builds of Safari 18. In speaking with people familiar with the matter, we learned that Web Eraser allowed users to select any page element on-screen, and &ldquo;erase&rdquo; it.<\/p><p>[&#8230;]<\/p><p>We were told that Web Eraser enabled the removal of virtually anything on-screen, from distracting banner ads to articles or even entire page sections.<\/p><p>So, why did Apple remove a Safari feature that was fully functional?<\/p><p>[&#8230;]<\/p><p>After <em>AppleInsider<\/em>&rsquo;s original article on the subject was published, it caught the attention of major industry associations in the publishing and advertising sector. Following our reveal of the feature, mainstream media websites  <em>The Financial Times<\/em> and <em>Business Insider<\/em> reported that the UK&rsquo;s <a href=\"https:\/\/appleinsider.com\/articles\/24\/05\/13\/uk-newspapers-tell-apple-its-web-eraser-will-put-journalism-at-risk\">News Media Association<\/a> and a group of <a href=\"https:\/\/appleinsider.com\/articles\/24\/05\/29\/french-publishers-ask-tim-cook-to-abandon-forthcoming-web-eraser\">French publishers<\/a> had both sent complaints to Apple about Web Eraser in May.<\/p><\/blockquote>\n\n<p id=\"safari-distraction-control-update-2024-09-20\">Update (2024-09-20): <a href=\"https:\/\/www.macstories.net\/stories\/macos-sequoia-the-macstories-review\/3\/#content\">John Voorhees<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.macstories.net\/stories\/macos-sequoia-the-macstories-review\/3\/#content\">\n<p>My concerns about Distraction Control are twofold. First, static ads &#x2013; like the kind of ads we display on MacStories &#x2013; are often chosen because they are less disruptive than dynamic ads. Effectively, Apple is penalizing sites that use less distracting ads by making them easier to block long-term than the dynamic variety.<\/p>\n<p>[&#8230;]<\/p>\n<p>Second, Distraction Control is not very precise. If you try to hide the banner ad at the top of MacStories, it will wipe out the masthead and site navigation along with the banner. That&rsquo;s a potential support nightmare we (and I suspect other sites) will have to deal with.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Ivan Mehta (Hacker News): Safari&rsquo;s newest feature, Distraction Control, can remove distracting elements from a website. The feature follows Arc Browser&rsquo;s addition of Boosts last year, which similarly lets users remove features from a site and further customize its appearance.Apple is rolling out the early version of the feature this week through new developer betas [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2024-08-07T20:09:19Z","apple_news_api_id":"1f93f17d-049e-40e4-be63-4de2e33c4f67","apple_news_api_modified_at":"2024-09-20T18:40:43Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AH5PxfQSeQOS-Y03i4zxPZw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[354,1776,31,2586,30,2598,103,96],"class_list":["post-44384","post","type-post","status-publish","format-standard","hentry","category-technology","tag-advertising","tag-gdpr","tag-ios","tag-ios-18","tag-mac","tag-macos-15-sequoia","tag-safari","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/44384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=44384"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/44384\/revisions"}],"predecessor-version":[{"id":45021,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/44384\/revisions\/45021"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=44384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=44384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=44384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}