I’m writing an add-on for Firefox using the browser extension api, and I’d like to be able to detect when the current tab is the Customize tab (the one that you see if you right-click on the address bar and click “Customize”)
So far as I can tell, using the windows and tabs apis (links below) there’s no way to detect that the user is viewing the Customize tab rather than a website or any other page, even though it’s apparently a special tab required by the system. I had expected maybe a special state or status for the tab, but looking at the properties of the tab at runtime I can see nothing useful.
Can anyone suggest a way of telling the Customize tab apart from a web-page?