Last active
June 7, 2023 20:07
-
-
Save evaristorivi/e0645eead6b59bbdd0914786d16c42bd to your computer and use it in GitHub Desktop.
Force Enable Text Selection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Force Select | |
// @version 1.0 | |
// @description Stop sites from disabling selection of text | |
// @author You | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let style = document.createElement('style'); | |
style.innerHTML = '*{ user-select: auto !important; }'; | |
document.body.appendChild(style); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment