Skip to content

Commit

Permalink
Launching version 2.0
Browse files Browse the repository at this point in the history
Version 2.0 is multi-note ready. Next version will allow adding them into files.
  • Loading branch information
mesacarlos committed Feb 9, 2019
1 parent 5d8bab8 commit ee460e1
Show file tree
Hide file tree
Showing 8 changed files with 1,345 additions and 279 deletions.
19 changes: 19 additions & 0 deletions BrowserNotes1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# BrowserNotes

**DEPRECATED VERSION: Please consider moving to BrowserNotes2 for multinote and better performance**

Simple, minimal and small HTML document to save your passwords or notes AES-encrypted in your web browser or device.

BrowserNotes is designed to be portable, so that a single file contains everything necessary to run correctly. Also, it is designed to be used without internet connection, including all the necessary libraries.

### Where to save your document
You can save your note into:

1. **WebStorage**: Save your encrypted note into your browser clicking "Save to WebStorage".
2. **File**: If you need to save multiple notes, you can save them in your device in a JSON based file, wich stores your note encrypted.
3. **URL**: Not recommended. Generates a URL to save your note in your bookmarks. It is not reccomended because you need to re-bookmark your note every time you edit it.

### Also included

- **Multi-language**: Translated into English (default) and Spanish. More languages can be easily added, just editing a JSON file. Also, to change default language, change `setLanguage("en_US")` at `startup()` function.
56 changes: 28 additions & 28 deletions eNotes.html → BrowserNotes1/eNotes.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<html>
<head>
<title>Your browser does not support this script</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles/style.css">
<script src="script/crypto.js"></script>
<script src="script/service.js"></script>
</head>
<body onload="enc.startup()">
<header>
<div class="leftContainer negrita" id="title" contenteditable onkeypress="enc.trySave()">Your browser does not support this script</div>
<div class="rightContainer">
<strong id="info"></strong>
<button id="save" onclick="enc.saveFile()"></button> |
<button id="load" onclick="document.getElementById('file-load').click()"></button> |
<button id="chpwd" onclick="enc.chPwd()"></button> |
<button id="glinkbtn" onclick="enc.saveToLink()"></button> |
<button id="tglautosavebtn" onclick="enc.toggleAutoSave()"></button> |
<button id="savestorage" onclick="enc.saveStorage()"></button> |
<button id="loadstorage" onclick="enc.loadStorage()"></button> |
<a onclick="enc.setLanguage('en_US')" href="#">EN</a> |
<a onclick="enc.setLanguage('es_ES')" href="#">ES</a>
</div>
</header>
<div class="main" id="main" contenteditable onkeypress="enc.trySave()">Your browser does not support this script. Please check JavaScript is enabled and try again.</div>
<label for="file-load" class="oculto">Etiqueta</label><input type="file" name="file-load" id="file-load" class="oculto" accept=".AESjson" onchange="enc.loadFile(this)">
</body>
<html>
<head>
<title>Your browser does not support this script</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles/style.css">
<script src="script/crypto.js"></script>
<script src="script/service.js"></script>
</head>
<body onload="enc.startup()">
<header>
<div class="leftContainer negrita" id="title" contenteditable onkeypress="enc.trySave()">Your browser does not support this script</div>
<div class="rightContainer">
<strong id="info"></strong>
<button id="save" onclick="enc.saveFile()"></button> |
<button id="load" onclick="document.getElementById('file-load').click()"></button> |
<button id="chpwd" onclick="enc.chPwd()"></button> |
<button id="glinkbtn" onclick="enc.saveToLink()"></button> |
<button id="tglautosavebtn" onclick="enc.toggleAutoSave()"></button> |
<button id="savestorage" onclick="enc.saveStorage()"></button> |
<button id="loadstorage" onclick="enc.loadStorage()"></button> |
<a onclick="enc.setLanguage('en_US')" href="#">EN</a> |
<a onclick="enc.setLanguage('es_ES')" href="#">ES</a>
</div>
</header>
<div class="main" id="main" contenteditable onkeypress="enc.trySave()">Your browser does not support this script. Please check JavaScript is enabled and try again.</div>
<label for="file-load" class="oculto">Etiqueta</label><input type="file" name="file-load" id="file-load" class="oculto" accept=".AESjson" onchange="enc.loadFile(this)">
</body>
</html>
Loading

0 comments on commit ee460e1

Please sign in to comment.