Re:Gas Pump Golf
by throw6622 on Friday January 07, 2022 @12:40PM
(#29842076)
If the creator is reading, consider adding “user-select: none;” to the button. On iOS when you hold on it it tries to select the text.
[ Parent
| on HN ]
Unrelated: how can I disable, browser-wide, the ability for sites to set 'user-select: none'?
Re:Gas Pump Golf
by wlesieutre on Friday January 07, 2022 @02:57PM
(#29843933)
On iOS you can use Stop The Madness's "Protect Text Selection" option, costs $8 but fixes all sorts of modern web annoyances
https://apps.apple.com/us/app/stopthemadness-mobile/id158308...
Setting an appropriate user style using something like Stylus to override it should work. See how this one does it: https://userstyles.world/style/2264/unblock-algoexpert-text-...
If you can't set user styles in your browser, you might not be able to accomplish it, though.
you could add a css snippet for `* { user-select: all ! important }` to override any occurrences of that property
unless the site already did that, so you'll have to out-override them by applying an id to the outer html tag and doing the ol'
#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride#useroverride * {user-select: all !important]
or whatever
Re:Gas Pump Golf
by pineconewarrior on Friday January 07, 2022 @02:40PM
(#29843711)
However if the style is inlined to the element and given an !important, you're SOL.
Surely the cascade means that the user applied style with the same 'score' takes preference?
Re:Gas Pump Golf
by invalidusernam3 on Friday January 07, 2022 @05:33PM
(#29845807)
JavaScript