diff --git a/assets/STS.png b/assets/STS.png index b949944..e3f0a7e 100644 Binary files a/assets/STS.png and b/assets/STS.png differ diff --git a/js/export_profile.js b/js/export_profile.js deleted file mode 100644 index 3445bf8..0000000 --- a/js/export_profile.js +++ /dev/null @@ -1,70 +0,0 @@ -function shipProfile(){ - - //list all the profiles - chrome.storage.local.get(null, function(items){ - var allKeys = Object.keys(items); - console.log(allKeys); - renderStatus(''); - var status = document.getElementById('status'); - - for(i=0;i\t" + allKeys[i]; - status.appendChild(box); - } - addSeparator('status'); - var box = document.createElement("div"); - box.setAttribute("id", "CheckAll"); - //box.setAttribute("class", "Profile"); - box.className = "Profile"; - box.innerHTML = 'Click Here to select All\n'; - document.getElementById('status').appendChild(box); - - //add an event handler for the 'Select all' checkbox - //this invokes the toggle() function - document.getElementById('CheckAll').onclick = function(){ - toggle(); - }; - - //add a button to finalise the list - var button = document.createElement("div"); - button.innerHTML = '\n'; - document.getElementById('status').appendChild(button); - button.addEventListener("click", function(){ - var tabs = document.getElementsByName('Checkbox'); - var s = ""; - var value = []; - var numChoices = 0; - console.log("Number of checkboxes = " + tabs.length); - for(i=0; i 0){ - //renderStatus('You have chosen to delete\n' + s); - chrome.storage.local.remove(value, function(){ - renderStatus('Successfully removed selected profile(s)'); - }); - } else { - renderStatus('You must choose atleast one profile'); - } - }); - }); -} \ No newline at end of file