diff options
| author | NateN1222 <nathannichols454@gmail.com> | 2017-10-22 11:03:01 -0500 | 
|---|---|---|
| committer | NateN1222 <nathannichols454@gmail.com> | 2017-10-22 11:03:01 -0500 | 
| commit | b0d5c049d41d9b92937306021ff7ea4bdd3f9f8b (patch) | |
| tree | ecedf43dfcfd73dbca2079739471e273020f39c3 /html | |
| parent | e2616cec722d22034159c8891682bd986989fd6f (diff) | |
removed debug buttons from blocked scripts display screen
Diffstat (limited to 'html')
| -rw-r--r-- | html/display_panel/content/display-panel.html | 2 | ||||
| -rw-r--r-- | html/display_panel/content/main_panel.js | 6 | ||||
| -rw-r--r-- | html/display_panel/content/panel-styles.css | 3 | 
3 files changed, 5 insertions, 6 deletions
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 @@          </div>     </div>      <div id="buttons" style="display:inline;" class="title-area"> -		<table id="buttons_table"> +		<table id="buttons_table" style="width: 80px;">  		</table>  	</div>      <div id="info"> 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","<h3>Refresh the page to revaluate this script.</h3>"); +					//this.parentElement.parentElement.getElementsByTagName("b")[0].insertAdjacentHTML("beforebegin","<h3>Refresh the page to revaluate this script.</h3>");  					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;  }  | 
