Posts: 6,237
Threads: 90
Joined: Oct 2014
(03-20-2025, 06:01 AM)coult8 Wrote: Hello! Admini,
I've collected some patches for other chromium based browsers that continue to support the Manifest V2 extension.
1. ungoogled-chromium extensions-manifestv2.patch
2. supermium manifest_v2_experiment_manager.h
3. brave
brave-core/chromium_src/extensions/common/extension_features.cc
4. cromite Override-the-MV2-deprecation.patch
I hope it's helpful to you.
====
By the way, I still hope that the new version of the cent browser can customize the icon of the js bookmark , and customize the font color of the js bookmark.
If it is too troublesome, a simple solution is: you can put the icon into the chrome_100_percent.pak file and package it.
When I use it myself, I use the chrome-pak-customizer tool to unpack chrome_100_percent.pak, then find the js bookmark icon and replace it with the custom icon.
That's it. Pretty simple, isn't it? If it is convenient for you, you can even tell me the file name of the js bookmark icon so that I can find it quickly
Finally, thanks for all your hard work and good luck with you and the cent browser! Thanks for your info.
In the next version, Chromium uses vector icons for the toolbar, so the javascript bookmark icon will be just a text file in resources.pak without name.
For the MV2 patch, it is just beginning of removing related source code.
For now there is some flags to control the deprecation of MV2, but they will be removed after June 2025, it will be harder and harder to maintain MV2 source code in the future.
Posts: 264
Threads: 5
Joined: Nov 2022
(03-21-2025, 05:16 PM)Admini Wrote: In the next version, Chromium uses vector icons for the toolbar, so the javascript bookmark icon will be just a text file in resources.pak without name. will it be possible to change the icon or color in custom.css if it is svg? or will it be possible to change it in the settings? in theory, if it is in a text file, like newtab or other browser pages, they can be changed in resources, which means it will be possible to display such a setting for this icon in the settings
Posts: 6,237
Threads: 90
Joined: Oct 2014
(03-21-2025, 07:03 PM)QZMTCH Wrote: will it be possible to change the icon or color in custom.css if it is svg? or will it be possible to change it in the settings? in theory, if it is in a text file, like newtab or other browser pages, they can be changed in resources, which means it will be possible to display such a setting for this icon in the settings Yes, it still can be edited in resources.pak, but it is hard to locate it.
Cusomt.css can only be used to change web pages, can't be used for the toolbar.
Posts: 264
Threads: 5
Joined: Nov 2022
(03-23-2025, 04:25 PM)Admini Wrote: Yes, it still can be edited in resources.pak, but it is hard to locate it.
Cusomt.css can only be used to change web pages, can't be used for the toolbar. I just thought that if the icon is now a vector in a text file, and not in png, then its change can be added to the browser settings. Or is it not possible?
Posts: 6,237
Threads: 90
Joined: Oct 2014
(03-24-2025, 01:57 PM)QZMTCH Wrote: I just thought that if the icon is now a vector in a text file, and not in png, then its change can be added to the browser settings. Or is it not possible? Providing an option is possible, but it's not worth it because the feature is so tiny.
Chromium uses its own .icon format for toolbar buttons, maybe you can locate the corresponding file by searching through the contents of these extracted files.
Posts: 3
Threads: 0
Joined: Feb 2025
(03-27-2025, 04:48 PM)Admini Wrote: In the next version, Chromium uses vector icons for the toolbar, so the javascript bookmark icon will be just a text file in resources.pak without name. Hi, Admini, it confuses me,
1. "the next version" means Is the version of Chromium kernel 119 or above?
2. In the current version , cent version 5.1.1130.129 (Chromium 118.0.5993.159), is the js bookmark icon a vector icon? Which pak file is it in?
3. In the current version , where is the font color of the js bookmark? and how to customize the font color of the js bookmark?
Posts: 264
Threads: 5
Joined: Nov 2022
7 hours ago
(This post was last modified: 7 hours ago by QZMTCH.)
(Today, 05:35 AM)coult8 Wrote: Hi, Admini, it confuses me,
1. "the next version" means Is the version of Chromium kernel 119 or above?
2. In the current version , cent version 5.1.1130.129 (Chromium 118.0.5993.159), is the js bookmark icon a vector icon? Which pak file is it in?
3. In the current version , where is the font color of the js bookmark? and how to customize the font color of the js bookmark? no, the developer is planning the next version to be higher than 130 or something
in the latest version the icon is in png, in the files chrome_100_percent.pak and chrome_200_percent.pak (16345.png)
the font color is probably somewhere there too (or in the resources.pak file) in some CSS, possibly inside .gz (hard to find)
Posts: 6,237
Threads: 90
Joined: Oct 2014
(Today, 05:35 AM)coult8 Wrote: Hi, Admini, it confuses me,
1. "the next version" means Is the version of Chromium kernel 119 or above?
2. In the current version , cent version 5.1.1130.129 (Chromium 118.0.5993.159), is the js bookmark icon a vector icon? Which pak file is it in?
3. In the current version , where is the font color of the js bookmark? and how to customize the font color of the js bookmark? Font color is hardcoded, can't be customized.
|