On Sun, Nov 22, 2009 at 7:10 PM, Nico Weber <tha...@chromium.org> wrote: > Hi, > > I tried to write an override page ( > http://code.google.com/chrome/extensions/override.html > ) for the ntp that shows an empty page. I had two issues. > > 1.) I wanted "my" ntp to not contain anything but the theme's NTP > background. However, it seems as if extensions can't access > chrome://theme/theme_ntp_background . I guess that makes sense, but it > would be nice if extensions had some access to some parts of the theme > images.
FWIW, there is already a bug on this. I agree this would be useful. > 2.) I wanted my ntp to have "New Tab" as title, just as the normal > ntp. Leaving <title> empty made chrome give the page the title > "chrome://new-tab", which doesn't seem as that's ever useful. It would > be nice if extensions either had access to a subset of the built-in > localized strings of chrome, or, a little more low-tech, if ntp- > override pages without a title would get the NTP's default title. (As > a workaround, I tried to set an empty title, which is imho better than > "chrome://new-tab". Chrome helpfully puts "chrome://new-tab" as title > if the override page's title is whitespace-only. I ended up using some > esoteric unicode whitespace character, which chrome doesn't recognize > as whitespace but renders as whitespace, which works as a workaround, > but…) This seems a little less useful, but I guess I agree. - a -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=.