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

Various discussions related to Adblock Plus development

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

Postby Gaiajack » Sat Mar 03, 2018 5:37 pm

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.
Gaiajack
 
Posts: 1
Joined: Sat Mar 03, 2018 5:32 pm

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

Postby greiner » Mon Mar 05, 2018 2:37 pm

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


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 3 guests