How to detect Options page is being opened through "about:addons" page

Hello,

Is there some nice way to detect that Options page is being viewed through about:addons page?

Due to the recent changes in layout of about:addons page (it’s super narrow now, even on big screens), I would like to prevent users from using this view and just show one big button “Open options page” that would open it in new tab.

I would like to achieve this without “tabs” permission.

Shouldn’t the page never load inline if you set open_in_tab to true? Alternatively you’d have two pages, one that loads inline and has a button and one that is the actual options page (super convoluted…)

1 Like

YES!
I can’t believe I’ve missed that (I think last time I’ve read that API was when I was developing my first addon :slight_smile:).

I also like the idea with the “fake” options page! But the manifest key works great (also in Chrome).

Thank you!