You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
// COMPAT: popouts can’t be window.close() on Firefox for Android, Moving focus
// back to the active tab (the popout is never active) will close the popout.
function closePopOut()
{
browser.runtime.getPlatformInfo().then(
function(platformInfo)
{
if (platformInfo.os == 'android')
browser.tabs.update({active: true});
else
window.close();
},
window.close
);
}
https://www.ctrl.blog/entry/firefox-browseraction-close-popout-android