Added import feature.

This commit is contained in:
2018-11-11 15:12:26 -06:00
parent b1e4119565
commit 3cb7ee5324
16 changed files with 110 additions and 7 deletions

View File

@@ -37,6 +37,13 @@ const saveToStorage = (name, data) => {
storage.set({[name]: data});
}
const importSession = () => {
browser.tabs.create({
url: browser.extension.getURL("../pages/import.html"),
active: true
});
}
const downloadSession = () => {
var dlAnchorElem = document.getElementById('downloadAnchorElem');
let id = selectedItem.innerHTML;