{"id":34323,"date":"2021-11-30T16:55:18","date_gmt":"2021-11-30T21:55:18","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=34323"},"modified":"2021-11-30T16:55:18","modified_gmt":"2021-11-30T21:55:18","slug":"safari-background-tabs-reactivate","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/11\/30\/safari-background-tabs-reactivate\/","title":{"rendered":"Safari Background Tabs Reactivate"},"content":{"rendered":"<p><a href=\"https:\/\/lapcatsoftware.com\/articles\/background.html\">Jeff Johnson<\/a> (<a href=\"https:\/\/twitter.com\/lapcatsoftware\/status\/1465315888635203592\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/lapcatsoftware.com\/articles\/background.html\"><p>The madness in this case is Safari background tabs spontaneously coming to the front again, an obviously undesirable behavior. The initial report was for an obscure (to me) web site in New Zealand, but then I asked around, and someone said it also happened on ESPN, which is not so obscure (to me).<\/p>\n<p>[&#8230;]<\/p>\n<p>If <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Window\/open\" title=\"Mozilla Developer Network Web Docs\"><code>window.open<\/code><\/a> is called in a Safari background tab with an <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Element\/iframe\" title=\"Mozilla Developer Network Web Docs\"><code>iframe<\/code><\/a> browsing context, the tab comes to the front.<\/p><\/blockquote>\n<p>I&rsquo;ve definitely seen this one.<\/p>\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/11\/22\/safari-forgets-your-history\/\">Safari Forgets Your History<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Jeff Johnson (tweet): The madness in this case is Safari background tabs spontaneously coming to the front again, an obviously undesirable behavior. The initial report was for an obscure (to me) web site in New Zealand, but then I asked around, and someone said it also happened on ESPN, which is not so obscure (to [&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":"2021-11-30T21:55:21Z","apple_news_api_id":"1d75909e-89b2-4348-9d65-0fbdb0656a37","apple_news_api_modified_at":"2021-11-30T21:55:21Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AHXWQnomyQ0idZQ-9sGVqNw","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":[131,346,30,1529,1609,1666,1891,2077,103],"class_list":["post-34323","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bug","tag-javascript","tag-mac","tag-macos-10-13","tag-macos-10-14","tag-macos-10-15","tag-macos-11-0","tag-macos-12","tag-safari"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34323","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=34323"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34323\/revisions"}],"predecessor-version":[{"id":34324,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34323\/revisions\/34324"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=34323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=34323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=34323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}