{"id":25943,"date":"2019-07-12T15:17:10","date_gmt":"2019-07-12T19:17:10","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=25943"},"modified":"2019-07-12T20:27:46","modified_gmt":"2019-07-13T00:27:46","slug":"sfuniversallink","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/07\/12\/sfuniversallink\/","title":{"rendered":"SFUniversalLink"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/grynspan\/status\/1146484317561991168\">Jonathan Grynspan<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/grynspan\/status\/1146484317561991168\">\n<p>As promised, <a href=\"https:\/\/developer.apple.com\/documentation\/safariservices\/sfuniversallink\">API<\/a> for macOS browsers to adopt universal links!<\/p>\n<p>Please review the header for details on how to adopt&mdash;ADC hasn&rsquo;t got them yet. &#x1F910;<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/developer.apple.com\/ios\/universal-links\/\">Universal Links<\/a> let certain HTTP links (e.g. Dropbox and Twitter, or hypothetically Zoom) open directly in an app instead of in the browser, potentially bypassing a confirmation alert that a custom URL scheme would have caused. This API lets third-party browsers provide an experience that matches Safari.<\/p>\n<p>However, sometimes the user doesn&rsquo;t want the link to open in the app, and so Safari in Catalina lets you Control-click to choose the browser instead. (On iOS you can long-press.) The <code>isEnabled<\/code> property lets you see how the user last opened a link for that app, so that you can respect the preference. And it&rsquo;s shared across the OS, so you can change it in a third-party browser and affect Safari&rsquo;s behavior.<\/p>\n\n<p>See also: <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2019\/717\/\">What&rsquo;s New in Universal Links<\/a>.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/07\/09\/zoom-vulnerabilities\/\">Zoom Vulnerabilities<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/12\/15\/macos-10-12-2-impedes-safari-bookmarklets\/\">macOS 10.12.2 Impedes Safari Bookmarklets<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/09\/22\/twitter-and-universal-links\/\">Twitter and Universal Links<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Jonathan Grynspan: As promised, API for macOS browsers to adopt universal links! Please review the header for details on how to adopt&mdash;ADC hasn&rsquo;t got them yet. &#x1F910; Universal Links let certain HTTP links (e.g. Dropbox and Twitter, or hypothetically Zoom) open directly in an app instead of in the browser, potentially bypassing a confirmation alert [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-07-12T19:17:12Z","apple_news_api_id":"42649b40-6ff6-4741-ab3b-cbf157ad8b0e","apple_news_api_modified_at":"2019-07-13T00:27:50Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAw==","apple_news_api_share_url":"https:\/\/apple.news\/AQmSbQG_2R0GrO8vxV62LDg","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":[4],"tags":[30,1666,71,103,1310,489],"class_list":["post-25943","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-mac","tag-macos-10-15","tag-programming","tag-safari","tag-universal-links","tag-url"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25943","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=25943"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25943\/revisions"}],"predecessor-version":[{"id":25950,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25943\/revisions\/25950"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=25943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=25943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=25943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}