cadeyrn / newtaboverride

New Tab Override allows you to set the page that shows whenever you open a new tab.
https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/
Mozilla Public License 2.0
226 stars 48 forks source link

Add option about:blank #352

Open fenjen opened 2 weeks ago

fenjen commented 2 weeks ago

I'm using Mouse Gestures which don't work on about:newtab, but on about:blank. This plugin shows an error for URL about:blank (invalid url). Maybe we could add a dropdownbox option like "about:blank" which opens a page that is controllable with mouse gestures? It's possible: The add-on "Blank New Tab" is able to open a new blank tab which is controllable with mouse gestures.

cadeyrn commented 2 weeks ago

You don't need an add-on at all to use an empty page as new tab page, you can select it in the Firefox preferences. Does it not work for your use case?

fenjen commented 1 week ago

Hi cadeyrn! Thanks for your reply. I know I don’t need an add-on just to get blank new tabs (instead of a start page). But I do need an add-on that provides blank new tabs in a way that makes them accessible to other add-ons, like Foxy Gestures or Gesturefy.

Firefox has two options for new tabs: "Firefox Home (Default)" and "Blank Page". "Firefox Home" is some special page that addons may not access. "Blank Page" is about:newtab with the same restriction: addons do not work on these pages. A page without this restriction would be about:blank. I found New Tab Override sound promising, but both mouse gesture addons (Foxy Gestures and Gesturefy) don't work on new tabs created by this addon. Hence the suggestion to add an option about:blank.

I can use the alternative addon Blank New Tab instead, but I strongly dislike that it is closed source.