{"id":16629,"date":"2016-12-15T14:08:30","date_gmt":"2016-12-15T19:08:30","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=16629"},"modified":"2016-12-15T16:27:07","modified_gmt":"2016-12-15T21:27:07","slug":"macos-10-12-2-impedes-safari-bookmarklets","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/12\/15\/macos-10-12-2-impedes-safari-bookmarklets\/","title":{"rendered":"macOS 10.12.2 Impedes Safari Bookmarklets"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/danielpunkass\/status\/808904839992410112\">Daniel Jalkut<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/danielpunkass\/status\/808904839992410112\">\n<p>Safari Bookmarklets that invoke a custom scheme yield a warning like this in 10.12.2.<\/p>\n<\/blockquote>\n<p>There&rsquo;s a <a href=\"https:\/\/twitter.com\/addisonwebb\/status\/809018906702651393\">Cancel\/Allow<\/a> confirmation alert each time you invoke the bookmarklet, even multiple times for the same app in the same session. It&rsquo;s really annoying. I often use to bookmarklets to create blog posts in <a href=\"https:\/\/www.red-sweater.com\/marsedit\/\">MarsEdit<\/a> and to archive Web pages <a href=\"http:\/\/c-command.com\/eaglefiler\/bookmarklets\">in EagleFiler<\/a>.<\/p>\n\n<p><a href=\"https:\/\/twitter.com\/nickheer\/status\/808906152230711298\">Nick Heer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/nickheer\/status\/808906152230711298\"><p>The (relatively recently) redesigned confirmation dialogs don&rsquo;t help matters. I thought it was a scam on first sight.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/bobblestmonkey\/status\/808944553663217664\">Some<\/a> <a href=\"https:\/\/twitter.com\/gruber\/status\/808923888352632832\">people<\/a> say that Safari&rsquo;s newish iOS-style alerts are supposed to help users distinguish alerts that Web sites create via JavaScript from alerts created by apps or the system. That makes it harder for a site to trick you. That sounds nice in theory, but of course the distinction is <a href=\"https:\/\/twitter.com\/qdoug\/status\/809508460241027077\">absent on iOS<\/a>. And, more importantly, why then is Safari presenting this bookmarklet alert as if it were from JavaScript?<\/p>","protected":false},"excerpt":{"rendered":"<p>Daniel Jalkut: Safari Bookmarklets that invoke a custom scheme yield a warning like this in 10.12.2. There&rsquo;s a Cancel\/Allow confirmation alert each time you invoke the bookmarklet, even multiple times for the same app in the same session. It&rsquo;s really annoying. I often use to bookmarklets to create blog posts in MarsEdit and to archive [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[627,595,30,1381,207,103,489],"class_list":["post-16629","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bookmarks","tag-eaglefiler","tag-mac","tag-macos-10-12","tag-marsedit","tag-safari","tag-url"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16629","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=16629"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16629\/revisions"}],"predecessor-version":[{"id":16636,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16629\/revisions\/16636"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=16629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=16629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=16629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}