facilitate the favicon change of bookmarks

48 views
Skip to first unread message

Alexandro Gonçalves Dos Santos

unread,
Oct 18, 2020, 6:35:55 AM10/18/20
to Chromium-discuss
A very long project for a designer is to define a specific favicon for each page, while we hope so we can make it easier for the user to define their own favicon from their bookmarks.

We need to think of a way to implement this as an api for browser extensions without harming performance because here performance is much more important because it can make use feasible or not.

PhistucK

unread,
Oct 18, 2020, 6:54:38 AM10/18/20
to alexand...@gmail.com, Chromium-discuss
Are you asking how to implement it in an extension? I do not think this is possible.
You can work around it by changing the favicon of the page while the user views the page - this will change the favicon of the bookmark as well.
But there is no official way/API to change a bookmark favicon directly.

PhistucK


On Sun, Oct 18, 2020 at 1:35 PM Alexandro Gonçalves Dos Santos <alexand...@gmail.com> wrote:
A very long project for a designer is to define a specific favicon for each page, while we hope so we can make it easier for the user to define their own favicon from their bookmarks.

We need to think of a way to implement this as an api for browser extensions without harming performance because here performance is much more important because it can make use feasible or not.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Jon Perryman

unread,
Oct 18, 2020, 2:09:52 PM10/18/20
to Chromium-discuss
Customizing HTML can either be performed by a CGI on the server or javascript on the browser. You have more than enough flexibility. I personally would use CGI for favicon because it would avoid any quirks that occur with different browsers. You create a function to insert the LINK for ICON. 

Jon

On Sun, Oct 18, 2020 at 3:35 AM Alexandro Gonçalves Dos Santos <alexand...@gmail.com> wrote:
A very long project for a designer is to define a specific favicon for each page, while we hope so we can make it easier for the user to define their own favicon from their bookmarks.

We need to think of a way to implement this as an api for browser extensions without harming performance because here performance is much more important because it can make use feasible or not.

--

Alexandro Gonçalves Dos Santos

unread,
Oct 30, 2020, 12:18:20 AM10/30/20
to Chromium-discuss, jon.pe...@gmail.com, Chromium-discuss
Jon, I want to give this power to users to define their own favicon for each page when they need it

PhistucK, I'm asking how to make this api available to extension developers

PhistucK

unread,
Oct 30, 2020, 1:56:58 AM10/30/20
to alexand...@gmail.com, Chromium-discuss, jon.pe...@gmail.com
So you want guidance regarding who to change the C++ code of Chromium to provide this API?
chromium-dev might be helpful, or chromium-extensions. You will need to start investigating by yourself, too (source.chromium.org is a good place to search the code), show what you already found and where you are stuck.

PhistucK

PhistucK

unread,
Oct 30, 2020, 2:27:06 AM10/30/20
to alexand...@gmail.com, Chromium-discuss, jon.pe...@gmail.com
*who = how

PhistucK

Reply all
Reply to author
Forward
0 new messages