💾 Archived View for g.codelearn.me › 2018-02-10-dropbox-direct-link.gmi captured on 2024-03-21 at 15:20:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Dropbox direct link to file

Hey,

Just switched to Firefox and tried to find the way how I can replace the start page.

The only way I've found is use New Tab Override extension. It allows to set custom html I want to use for start page but other files like css/js and fonts should be linked.

I don't have them anywhere except my Dropbox and of course usual dropbox link isn't working since it opens Dropbox's page where I can download the file itself.

But there is workaround.

Just copy dropbox link to your file. It may look like this:

`https://www.dropbox.com/s/fy44flf3pw2afsp/thefile.js?dl=0`

and then replace `www.dropbox.com` with `dl.dropboxusercontent.com`.

So the link should look like this:

`https://dl.dropboxusercontent.com/s/fy44flf3pw2afsp/thefile.js?dl=0`

Now you have direct link to your file and you can src it in your html.

P.S.

While I was writting it just realised I can write css/js inline...