D
D
Dmitry Maslennikov2017-03-27 20:15:40
HTML
Dmitry Maslennikov, 2017-03-27 20:15:40

How to change the color of a tab in Yandex.Browser?

How to change the color of the tab in Yandex.Browser from the one that is formed by the site icon to an arbitrary one?
The official Yandex website has only information about widgets displayed in tabs: https://tech.yandex.ru/browser/tableau/doc/dg/conc...
It affects the color of the tab, but is extremely unstable. After clearing the cache and reloading the page, the tab becomes the desired color, but when opening new, previously unopened pages in the browser, the title is still formed by the icon.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Maslennikov, 2017-03-28
@aprenoir

Official response from Yandex technical support service:

The color of the active tab is determined automatically by its widget. If the site has its own logo for the widget on the Tableau page, then the design of the tab will match it.
How to make a widget, you can read here: https://tech.yandex.ru/browser/tableau/doc/dg/conc...
If the site does not have a widget, in this case the color of the tab will be taken from the site's favicon.

PS From myself, I'll add that during the experiments it turned out that the background color in most cases is taken from the first filled upper right pixel of the icon and is made several tones darker. In some cases, the color is formed according to other algorithms (in particular, for very light or very dark icons, as well as for images with a combination of different colors).
Unfortunately, in practice, Yandex.Browser does not work correctly with the widget, new opened pages are painted according to the color of the site icon, and when manipulating the browser history (ajax, etc.), the color is taken from the "color" parameter (the color of the widget's logo is not affect color). Let's hope that in new versions of the browser everything will work correctly.

A
Alexander Aksentiev, 2017-03-27
@Sanasol

https://developers.google.com/web/updates/2014/11/...
in chrome on android there is this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question