Page 1 of 1

How is the "full-window" options page achieved?

Posted: Sat Mar 03, 2018 4:37 pm
by Gaiajack
I'm making my own WebExtensions add-on and I'm having trouble with the options page.

ABP's options page looks like this:

Image

Mine looks like this:

Image

The red box is my options.html. How is it that ABP's options page fills the whole window, and get rid of all the extra stuff that Firefox adds on around it? I tried looking at the ABP source code, but I had trouble building it.

Re: How is the "full-window" options page achieved?

Posted: Mon Mar 05, 2018 1:37 pm
by greiner
In the extension's manifest you need to set "open_in_tab" to "true".

You can find more information at https://developer.mozilla.org/en-US/Add ... options_ui