简体   繁体   中英

Prevent closing Chrome extension popup after closing Javascript alert

Up until testing today, the default behaviour when closing a Javascript alert originated from a Chrome Extension popup was the alert closing but the Chrome popup staying open. Just now when testing, I found both the alert and the extension popup close when I clear the Javascript alert. What changed? Is there a way to revert to the previous behaviour?

Really inconvenient to have to re-click on the popup after interacting with the Javascript alert.

Looks like this was a bug that was introduced and resolved here: bugs.chromium.org/p/chromium/issues/detail?id=1201295

Should be fixed in following MacOS Chrome versions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM