{"id":37918,"date":"2022-12-16T14:29:53","date_gmt":"2022-12-16T19:29:53","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=37918"},"modified":"2022-12-16T14:29:53","modified_gmt":"2022-12-16T19:29:53","slug":"unalertstyle-restricted","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/12\/16\/unalertstyle-restricted\/","title":{"rendered":"UNAlertStyle Restricted"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/patrickwardle\/status\/1602426386915811328\">Patrick Wardle<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/patrickwardle\/status\/1602426386915811328\"><p>If a tool notifies the user via macOS&rsquo;s notification center the style can no longer be programmatically set to <code>alert<\/code> &#8230;only <code>banner<\/code>.<\/p><p>Banners are automatically dismissed which breaks security alert requiring user interaction! &#x1F972;<\/p><p>Note: Apple&rsquo;s apps can send alerts by default &#x1F92A;<\/p><\/blockquote>\n\n<p>It&rsquo;s frustrating how API limitations like this tend not to get announced or documented.<\/p>\n\n<p><a href=\"https:\/\/twitter.com\/thomasareed\/status\/1602481711425916930\">Thomas Reed<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/thomasareed\/status\/1602481711425916930\"><p>I&rsquo;ve always argued against a custom alert pop-up implementation in Malwarebytes for Mac, favoring native notifications instead. But if the user can now miss an important alert about an infection, that&rsquo;s going to change the equation. &#x1F615;<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Patrick Wardle: If a tool notifies the user via macOS&rsquo;s notification center the style can no longer be programmatically set to alert &#8230;only banner.Banners are automatically dismissed which breaks security alert requiring user interaction! &#x1F972;Note: Apple&rsquo;s apps can send alerts by default &#x1F92A; It&rsquo;s frustrating how API limitations like this tend not to get announced [&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":"2022-12-16T19:29:55Z","apple_news_api_id":"575d5fd9-f6ed-4361-94a7-4d1ca53668d7","apple_news_api_modified_at":"2022-12-16T19:29:55Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AV11f2fbtQ2GUp00cpTZo1w","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":[69,30,2223,111,71],"class_list":["post-37918","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-cocoa","tag-mac","tag-macos-13-ventura","tag-notificationcenter","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37918","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=37918"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37918\/revisions"}],"predecessor-version":[{"id":37919,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37918\/revisions\/37919"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=37918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=37918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=37918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}