Browser add-on that saves the current page as a HTML file with auto-redirect. It's like a bookmark you can store anywhere on your disk.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ondřej Hruška c1891e4f00
fix file name not trimmed - ff doesnt allow leading/trailing space?
6 years ago
.gitignore initial version 6 years ago
.web-extension-id initial version 6 years ago
README.md add readme 6 years ago
background.js fix file name not trimmed - ff doesnt allow leading/trailing space? 6 years ago
icon-dark.svg better manifest 6 years ago
icon-light.svg better manifest 6 years ago
manifest.json fix file name not trimmed - ff doesnt allow leading/trailing space? 6 years ago

README.md

Save Link To File

This is a simple one-button firefox extension (might work in chrome too, I didn't try).

It generates and saves a HTML file like this:

Ondrovo.com.link.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Ondrovo.com</title>
  <meta http-equiv="refresh" content="0; url=https://www.ondrovo.com/">
  <style>
    body {
      padding: 1em;
      text-align: center;
      font-family: sans-serif;
      color:#aaa;
    }
    a, a:visited, a:hover, a:link {
      color:#888;
    }
  </style>
</head>
<body>
  Redirecting to: <a href="https://www.ondrovo.com/">https://www.ondrovo.com/</a>
</body>
</html>

When you open it, it loads up the linked page.

Why

This is useful when you want to keep your bookmarks as files, e.g. together with a project they relate to. They are cross-platform and work with any browser.