public
Last active

Select All: A bookmarklet for those annoying sites that block you from selecting stuff

  • Download Gist
installation.md
Markdown

Installation

  1. Create a new bookmark in your favorite browser and name it "Select All"
  2. Copy the code from the bookmarklet_select_all.js file (not source.js, that's just for reference)
  3. Edit your bookmark and paste the bookmarklet_select_all.js code you copied into the URL field
  4. Select ALL THE THINGS!
source.js
JavaScript
1 2 3 4 5
var style = document.createElement("style");
style.type = "text/css";
style.innerText = "* { -webkit-user-select: all !important; -moz-user-select: all !important; user-select: all !important; }";
var head = document.getElementsByTagName("head")[0];
head.appendChild(style);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.