AnswerBun.com

How to modify Chrome newtab.css from within a Chrome theme?

Super User Asked by user143423 on January 1, 2022

I want to modify the CSS for new tab page. NOT make new tab page. I already made a new tab page, but many users installing my themes won’t also install the new tab page extension. So I want to modify the CSS on the new tab page for those who ONLY want my theme.

It is my understanding that chrome://theme/css/newtab.css is the stylesheet I need to change.
Feel free to tell other ways to add CSS to the ORIGINAL new tab page in Chrome.

2 Answers

How to modify Chrome newtab.css from within a Chrome theme?

You can't, for two reasons:

  1. Chrome themes are extremely restricted in scope -- the only thing they can do is provide colors and/or background images for the user interface (e.g, toolbar and tab bar) and new-tab page. They cannot make other changes to the appearance of the browser or override CSS for any web content (including the new-tab page).

  2. Even if you meant a Chrome extension, extensions can only replace the new-tab page. They cannot alter or interact with the default new-tab page in any way.

Answered by user89623 on January 1, 2022

The default chrome theme is not designed to be editable by the end users. The resource files, including CSS, for Chrome's default theme used to be stored in theme.dll, and within chrome.dll itself for newer versions.

You can follow the instructions here if you are adventurous to hack DLL files.

The best source of guide for editing Chrome themes is still the official Chrome Developer Themes documentation.

Answered by hanxue on January 1, 2022

Add your own answers!

Related Questions

mdadm wont mount due to checksum error

1  Asked on November 26, 2021 by thevikas

         

How to type alt codes with no numpad?

3  Asked on November 26, 2021

     

IF statement that changes based on met condition

2  Asked on November 26, 2021 by berchell

 

Can I disable portable applications using AppLocker?

1  Asked on November 24, 2021 by wern-ancheta

 

Can you GPG sign old commits?

9  Asked on November 24, 2021

 

Android USB Driver on Windows 8

2  Asked on November 24, 2021 by rhughes

       

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir