diff --git a/beastify/content_scripts/clear.js b/beastify/content_scripts/clear.js deleted file mode 100644 index 0f2c2dd..0000000 --- a/beastify/content_scripts/clear.js +++ /dev/null @@ -1,27 +0,0 @@ -/* -clear(): -* either reloads or clears the page depending on the request -*/ -function clear(request, sender, sendResponse) { - switch (request.type){ - case "Reload": - location.reload(); - break; - case "Blank": - removeEverything(); - break; - } - - chrome.runtime.onMessage.removeListener(clear); -} - -function removeEverything() { - while (document.body.firstChild) { - document.body.firstChild.remove(); - } -} - -/* -Assign clear() as a listener for messages from the extension. -*/ -chrome.runtime.onMessage.addListener(clear); diff --git a/beastify/popup/choose_beast.css b/beastify/popup/choose_beast.css index 1b5aef6..5f6f456 100644 --- a/beastify/popup/choose_beast.css +++ b/beastify/popup/choose_beast.css @@ -19,11 +19,11 @@ html, body { } .clear { - background-color: #E74C3C; + background-color: #FBFBC9; } .clear:hover { - background-color: #C0392B; + background-color: #EAEA9D; } .inactive { diff --git a/beastify/popup/choose_beast.html b/beastify/popup/choose_beast.html index dfd3043..5984a4e 100644 --- a/beastify/popup/choose_beast.html +++ b/beastify/popup/choose_beast.html @@ -10,8 +10,7 @@
- - +