Hacker News new | ask | show | jobs
by Farow 1659 days ago
I personally aim for a startpage that loads instantly and since browsers no longer let you use a local html file as one, I've made an extension that registers a custom new tab page.

I don't use any frameworks since it's a pretty simple page, essentially just groups of links. If you need to, you can always use something like fetch to load external resources.

2 comments

I'm using a local html file as a start page in Safari right now, and used the same file on Windows (Firefox) just a few months ago.
I believe Firefox and Chrome do not allow you to set a local html file as a new tab page. You can set it as a home page but then you need to manually navigate to it after creating a new tab.
I use Chrome. I build a static HTML file and have set a New Tab page policy[1] in my paid Google Workspace[2] admin console to use this static HTML file via a file:// URL.

[1] https://support.google.com/chrome/a/answer/2657289#zippy=%2C...

[2] https://workspace.google.com/

Now I had to try. I can make Firefox to open my Startpage whenever I open a new window, but not for each new tab. Chrome only as the first window after I start the browser. (MacOS)
Would you mind sharing a link to your extension?