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

Various discussions related to Adblock Plus development
Post Reply
Gaiajack
Posts: 1
Joined: Sat Mar 03, 2018 4:32 pm

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

Post 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.
User avatar
greiner
ABP Developer
Posts: 899
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

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

Post 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
Post Reply