Recently Written · git

sbm-extension

sbm bookmarks for Firefox and Chrome: fuzzy search, add the page, sync with bm and the sbm app

git clone https://github.com/equwal/sbm-extension

Log | Files | Refs


popup.html (1017 bytes)

1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <link rel="stylesheet" href="style.css">
6 <title>sbm</title>
7 </head>
8 <body class="popup">
9 <input id="search" type="search" placeholder="Search, or type an address" autocomplete="off" autofocus>
10 <ul id="list"></ul>
11 <p id="empty" hidden></p>
12 
13 <form id="add" hidden>
14   <label>URL <input id="url" required></label>
15   <label>Description <input id="desc"></label>
16   <label>Tags, with spaces between them <input id="tags" autocomplete="off"></label>
17   <p id="known" class="note"></p>
18   <button id="save">Save</button> <button id="cancel" type="button">Cancel</button>
19 </form>
20 
21 <footer>
22   <button id="add-page" type="button">Add this page</button>
23   <span id="status" class="note"></span>
24   <nav><a href="#" id="options">Options</a> ยท <a href="https://ko-fi.com/truex" target="_blank" rel="noopener">Support sbm on Ko-fi</a></nav>
25 </footer>
26 <script src="lib/tsv.js"></script>
27 <script src="lib/fuzzy.js"></script>
28 <script src="popup.js"></script>
29 </body>
30 </html>