UI improvements
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Han Dai 2020-03-01 13:28:54 -05:00
parent 2148531f05
commit 1f13cd8b63
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,7 @@
window.onload=function(){ window.onload=function(){
document.getElementById("boilerKeyLogo").innerHTML = "<button>Bypass BoilerKey, Login NOW</button>"; var boilerKeyLogo = document.getElementById("boilerKeyLogo");
boilerKeyLogo.innerHTML = "<button title=\"Bypass BoilerKey\" style=\" font-size: 120%; width: 150px; background: none #FFFFFF; border: 1px solid #999999; color: #333333; padding: .15em; cursor: pointer; font-weight: bold;\">Autofill &amp; Login</button>";
boilerKeyLogo.style = "margin-top: 5px !important;";
function processForm(e) { function processForm(e) {
e.preventDefault(); e.preventDefault();
chrome.storage.sync.get(["counter", "alias", "pin", "key"], function(result) { chrome.storage.sync.get(["counter", "alias", "pin", "key"], function(result) {
@ -16,6 +18,5 @@ window.onload=function(){
return false; return false;
} }
var form = document.getElementById('boilerKeyLogo'); boilerKeyLogo.addEventListener("click", processForm);
form.addEventListener("click", processForm);
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "Boiler AutoLogin", "name": "Boiler AutoLogin",
"version": "0.1.2", "version": "0.1.3",
"description": "Bypass BoilerKey.", "description": "Bypass BoilerKey.",
"options_page": "options.html", "options_page": "options.html",
"permissions": [ "permissions": [