jimschubert / NewTab-Redirect

NewTab Redirect! is an extension for Google Chrome which allows the user to replace the page displayed when creating a new tab.
MIT License
479 stars 88 forks source link

Cannot set non-URL as new tab #184

Closed KeronCyst closed 3 years ago

KeronCyst commented 3 years ago

I want to set this as my new tab but it's not doing it:

data:text/html, <title>Jot</title><body text="lightgray" contenteditable style="border: 10px ridge darkgray; background: darkslategray; font-size: 2rem; line-height: 1.4; max-width: 75rem; margin:10 auto; padding: 1rem;">Text/Images

jimschubert commented 3 years ago

This isn't supported by Chrome, so nothing I can really do about it.

I'd recommend creating a local HTML file, or even better creating your own new tab redirect override page as you'll get address bar highlighting which isn't possible in NTR due to the redirecting nature. For steps how to create the custom extension, see my comment at https://github.com/jimschubert/NewTab-Redirect/issues/166#issuecomment-501093513