Can I Edit a Google Chrome Theme?

My question is maybe very simple but I want to learn somethings about it.

I downloaded some themes from Chrome Web Store. Have I an option to edit these themes?

(I want to change colors, buttons etc.)

If yes, how? If no, why?


A theme is a special kind of extension that changes the way the browser looks. Themes are packaged like regular extensions, but they don't contain JavaScript or HTML code. You can download any theme and modify it by editing the manifest.json file.

Colors are in RGB format. To find the strings you can use within the "colors" field, look for kColor* strings in theme_service.cc. Image resources use paths relative to the root of the extension. You can override any of the images that are specified by kThemeableImages in theme_service.cc. Just remove the "IDR_" and convert the remaining characters to lowercase.

Reference: https://developer.chrome.com/extensions/themes


You can find it in your appdata folders. Mine was located at:

C:UsershomeAppDataLocalGoogleChromeUser    
DataDefaultExtensionsmcphcjcjgkjmbphkfjleamgkinaeebnm1.1_0

You might just want to make a search query in your appdata for "manifest.json", and open a few until you find it.


As was mentioned, you can find it in appdata folder, eg: C:UsersmizerAppDataLocalGoogleChromeUser DataDefaultExtensions

Hint: Sort folders by date and you can easily find the one you want :)

链接地址: http://www.djcxy.com/p/69126.html

上一篇: 应该如何开始创建一个sbt插件?

下一篇: 我可以编辑Google Chrome主题吗?