Skip to main content
The 2024 Developer Survey results are live! See the results
6 events
when toggle format what by license comment
Dec 17, 2022 at 4:02 comment added DannyBoi This site brought me here hildastouchofspice.com/2011/12/marzipan.html#prettyPhoto . The above answer plus superuser.com/a/964711/617826 does the trick.
Jan 27, 2022 at 4:35 comment added Keyslinger In my case, the css rule that worked was body * :not(input):not(textarea) { user-select: auto !important; -webkit-user-select: auto !important; }
Jan 9, 2018 at 3:55 comment added Herohtar @Hashim That isn't necessary; you can specify which pages it applies to with one or more @match statements, but that would require modifying the script when you wanted it to apply to a specific page, unless you only visit a specific site or set of sites that you always want to modify. For the example script I made it generic by using *://*/* as the URL to match, so it will apply everywhere. It can be toggled on and off from the menu of the user script manager.
Jan 9, 2018 at 3:33 comment added Hashim Aziz This will apply to every page if left enabled, which might not be desirable in all situations. Could you not just nest the function in an if statement that executes the script only if the URL matches a particular site or array of sites?
Jan 8, 2018 at 15:16 history edited Herohtar CC BY-SA 3.0
added 234 characters in body
Jan 5, 2018 at 16:32 history answered Herohtar CC BY-SA 3.0