Disabling Selection Deactivation

arkanon Oct 14th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // stop stupid sites from disabling text selection (with CSS)
  2. style = document.createElement('style')
  3. style.innerHTML = '*{ user-select: auto !important }'
  4. document.body.appendChild(style)
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