* Start sequence for ClearURLs.
()
| 107 | * Start sequence for ClearURLs. |
| 108 | */ |
| 109 | function genesis() { |
| 110 | browser.storage.local.get(null).then((items) => { |
| 111 | initStorage(items); |
| 112 | |
| 113 | // Start the clearurls.js |
| 114 | start(); |
| 115 | |
| 116 | //Set correct icon on startup |
| 117 | changeIcon(); |
| 118 | |
| 119 | // Start the context_menu |
| 120 | contextMenuStart(); |
| 121 | |
| 122 | // Start history listener |
| 123 | historyListenerStart(); |
| 124 | }, handleError); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Return the value under the key. |
no test coverage detected