Browse Source

UI improvements

master
Han Dai 2 years ago
parent
commit
1f13cd8b63
  1. 7
      casLoginInjection.js
  2. 2
      manifest.json

7
casLoginInjection.js

@ -1,5 +1,7 @@
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) {
e.preventDefault();
chrome.storage.sync.get(["counter", "alias", "pin", "key"], function(result) {
@ -16,6 +18,5 @@ window.onload=function(){
return false;
}
var form = document.getElementById('boilerKeyLogo');
form.addEventListener("click", processForm);
boilerKeyLogo.addEventListener("click", processForm);
}

2
manifest.json

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

Loading…
Cancel
Save