From b0d5c049d41d9b92937306021ff7ea4bdd3f9f8b Mon Sep 17 00:00:00 2001 From: NateN1222 Date: Sun, 22 Oct 2017 11:03:01 -0500 Subject: removed debug buttons from blocked scripts display screen --- html/display_panel/content/display-panel.html | 2 +- html/display_panel/content/main_panel.js | 6 +++--- html/display_panel/content/panel-styles.css | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'html') diff --git a/html/display_panel/content/display-panel.html b/html/display_panel/content/display-panel.html index 8a456c8..5f5ed18 100644 --- a/html/display_panel/content/display-panel.html +++ b/html/display_panel/content/display-panel.html @@ -48,7 +48,7 @@
- +
diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js index fddc3a6..d58db8a 100644 --- a/html/display_panel/content/main_panel.js +++ b/html/display_panel/content/main_panel.js @@ -99,7 +99,7 @@ function write_elements(data,name,color){ console.log("Forget preferences for script " + temp[0]); var script_name = this.parentElement.parentElement.parentElement.parentElement.id; if(this.parentElement.parentElement.innerHTML.indexOf("Refresh the page") == -1){ - this.parentElement.parentElement.getElementsByTagName("b")[0].insertAdjacentHTML("beforebegin","

Refresh the page to revaluate this script.

"); + //this.parentElement.parentElement.getElementsByTagName("b")[0].insertAdjacentHTML("beforebegin","

Refresh the page to revaluate this script.

"); myPort.postMessage({"forget": temp}); } }); @@ -213,5 +213,5 @@ function delete_local_storage(){ myPort.postMessage({"deletelocalstorage":true}); } -new_debug_button("Print local storage",print_local_storage); -new_debug_button("Clear local storage",delete_local_storage); +//new_debug_button("Print local storage",print_local_storage); +//new_debug_button("Clear local storage",delete_local_storage); diff --git a/html/display_panel/content/panel-styles.css b/html/display_panel/content/panel-styles.css index 802c7f9..01d2696 100644 --- a/html/display_panel/content/panel-styles.css +++ b/html/display_panel/content/panel-styles.css @@ -32,7 +32,6 @@ body { overflow-y:visible; color:#000; } - .libre { width:230px; height:104px; @@ -106,7 +105,7 @@ ul.blocked-js ul li, ul.accepted-js ul li, ul.dryrun-js ul li { cursor: pointer; text-align: center; text-decoration: none; - font: 14px/100% Arial, Helvetica, sans-serif; + font: 10px/100% Arial, Helvetica, sans-serif; padding: .5em 2em .55em; border-radius: .5em; } -- cgit v1.2.3