Nighttab: Page header background color for use with VivaldiFox

Created on 9 Jul 2019  路  4Comments  路  Source: zombieFox/nightTab

Kind of a niche use case here I guess.
Since the earliest versions of NightTab I've been able to use VivaldiFox (Github) (AMO) to color the browser's toolbars the same color as NightTab's header shade.
Screenshot
With the latest version though, assuming because of the header logic or layout control changes, VivaldiFox fails to load the right color, selecting some grey shades apparently picked while NightTab is still loading.

If I may suggest a workaround, VF still seems to load the accent color as the toolbar color when there is a border on top of the shade. So maybe a toggle for the border color to switch between accent color and the shade's natural color (before taking into account the opacity settings)?
This should make sense with the new layout options so you can have, for example, a transparent shade below the bookmarks with the dark grey borders on top and/or bottom.

investigate

All 4 comments

I'm new to VivaldiFox so I will investigate. I'll see if I can learn how VivaldiFox detects the colour to use. A quick bit of digging suggests it may use the <meta name="theme-color" content="#000000"> meta tag.

Will investigate more.

Thank you.
I can't tell what the default setting "Use colors defined by the web page when available" exactly uses but when that setting is unticked (or when the colors aren't defined, I assume):
Screenshot (73)
It looks like VF picks the color from the center pixel:
Screenshot (72)
That's how my VF is set up, and it used to work well before v3.30.6 (now it picks up the white from the white flash that happens before page loading is complete). With that, depending on the method VF uses to detect that page-load is complete, this issue might be related to page load / white flash issues.

Seems to be working almost consistently now when header shade is shown on top and is opaque. When it isn't, the behavior isn't consistent, It will load the dark theme color on first load,
First Load
then pick up the wallpaper color on refresh,
On Refresh
sometimes improperly. Rarely even when header shade is opaque and on top:
Like that

But, matching the header shade was all I needed, so I'm closing the ticket. Thanks for working on this.

Understood. I'll continue to look into this behaviour nonetheless.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nickjcoco picture nickjcoco  路  5Comments

OofFan picture OofFan  路  5Comments

Q-out picture Q-out  路  3Comments

ronmurphy picture ronmurphy  路  5Comments

Raketenphysik picture Raketenphysik  路  4Comments