I am trying to create a "launch" page that is just a simple HTML page with a link of my bookmarks that I can edit myself. I want this page to come up when I open a new tab in Google Chrome. (In other words, I'm trying to create a custom HTML page that would automatically load in new Chrome tabs.)
I am using "New Tab Redirect" extension in Google Chrome to load this file when I open a new tab. The challenge is using a file:// URLs that would work on both Macs and PCs.
I have two laptops, one is Mac and the other is PC.
file:///tmp/bookmarks.html
works on macos when I put my bookmarks in /tmp/bookmarks.html, but it doesn't work on PC. (I tried creating 'c:\tmp\bookmarks.html` on the PC but Chrome doesn't pick it up.)
file://C:/tmp/bookmarks.html
works on PC but doesn't work on macos (I tried creating /C:/
and linking from tmp
in there to /tmp
but no dice).
Is there any file://
URL that would work on both systems?
P.S. Earlier, I tried using an http:// URL (running a local web server to share the bookmarks.html) but it was noticeably slow to load compared to loading a file:// resource
tmp
intmp/bookmarks.html
as a share, thenfile://///localhost/tmp/bookmarks.html
should work. Not sure about the mac side of the equation.