30 Aug 2018

Log button - via script

A simple script that open log file

Install copy / paste

/*favorites button*/ function createbookBtn() {     var isbookBtn = document.getElementById('bookBtn');     if (isbookBtn) {    isbookBtn.parentNode.removeChild(isbookBtn);  };   var bookBtn = document.createElement("div");  bookBtn.id = "bookBtn";  bookBtn.innerHTML = "fav";   bookBtn.setAttribute("style","font-size:4vw !important;width:10vw !important;height:10vw !important;line-height:10vw !important;text-align:center !important;background-color:rgba(247,126,147,0.4) !important;box-shadow:0px 1px 10px rgba(0,0,0,0.2) !important;color:#000 !important;position:fixed !important;bottom:20vh !important;right:5vw !important;z-index:99999 !important;border-radius:100% !important;display:none");  bookBtn.onclick = function () {   navigatorTo();   };   document.body.appendChild(bookBtn); }; function navigatorTo(x) {  location.href = "v://log"; }; createbookBtn(); document.body.ontouchstart = function(){  document.getElementById("bookBtn").style.display="block";  setTimeout(function(){   document.getElementById("bookBtn").style.display="none";  },3000); }

Enjoy
Pay me a coffee


0 comments:

Post a Comment

 
Copyright © VIA BROWSER ANDROID
;