SHARE
TWEET

Untitled

a guest Jun 18th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript: (function() {
  2.   var css =
  3.       "a:focus, input:not(disabled):focus, textarea:focus, button:focus, select:focus { outline: 3px solid !important; transition: all linear 0.2s; }",
  4.     head = document.head || document.getElementsByTagName("head")[0],
  5.     style = document.createElement("style");
  6.   style.type = "text/css";
  7.   if (style.styleSheet) {
  8.     style.styleSheet.cssText = css;
  9.   } else {
  10.     style.appendChild(document.createTextNode(css));
  11.   }
  12.   head.appendChild(style);
  13.   var div = document.createElement("div");
  14.   div.innerHTML = "Focus Enabled";
  15.   div.style.position = "fixed";
  16.   div.style.bottom = 0;
  17.   div.style.right = 0;
  18.   div.style.background = "blue";
  19.   div.style.color = "white";
  20.   document.body.appendChild(div);
  21. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top