Page 1 of 1

Why couldn't themes change this "new tab" page?

Posted: 2017-06-23, 13:16
by Latitude
Not the "about:newtab" page, but another new tab page which would appear if press "+".
zxcv.png

Re: Why couldn't themes change this "new tab" page?

Posted: 2017-06-24, 23:22
by Moonchild
Themes (full themes, anyway) can change the empty logo page (about:logopage) if they wish, but themes do have to be aware of it, in that case ;)

Re: Why couldn't themes change this "new tab" page?

Posted: 2017-06-25, 00:09
by Lootyhoof
Moonchild wrote:Themes (full themes, anyway) can change the empty logo page (about:logopage) if they wish, but themes do have to be aware of it, in that case ;)
As it's an HTML page (rather than XUL) it's not possible for themes to directly style it unless the page looks at themes for the styling.

That said, something akin to Home Styler might work...

Re: Why couldn't themes change this "new tab" page?

Posted: 2017-06-25, 17:51
by Moonchild
I'd think that using a media query on about:logopage would be able to override the default styling if included in a theme, though? I never tried that, though, so I may be wrong.

Re: Why couldn't themes change this "new tab" page?

Posted: 2017-06-25, 17:59
by Lootyhoof
On a userstyle this is possible since it works on both chrome and content. Themes, though, are only designed to work on chrome (this includes in-content XUL pages), unless specifically designated by a resource.

Re: Why couldn't themes change this "new tab" page?

Posted: 2017-06-25, 18:37
by Moonchild
Of course! Yes, in that case something that works on content pages (e.g. Home Styler alike) or a usercontent.css would be a way to style it.

Re: Why couldn't themes change this "new tab" page?

Posted: 2017-07-09, 13:58
by BenlyHar
Lootyhoof wrote:On a userstyle this is possible since it works on both chrome and content. Themes, though, are only designed to work on chrome (this includes in-content XUL pages), unless specifically designated by a resource.
Yeah works fine on chrome