Closed Reonu closed 5 years ago
@Leon422, this extension only intercepts copy
, cut
and paste
events. That site hooks into many events in order to block text selection (as you mentioned) as well as to prevent copying of text along with other normal browsing abilities, but it doesn't actually prevent pasting of text at all.
Without this extension active on the site, I'm able to paste into all of the input fields. I do need to activate the extension in order to copy text from those fields.
This extension is not meant to fix all the ways a website development might interfere with normal browsing behavior, and so I'm always hesitant to have it inject itself into more DOM events, as this extension can cause negative side effects. But, let me think about this for a bit, as I might consider having it intercept text selection events as well.
Alternatively, you could use something like Tampermonkey in order to alter your browsing experience for any given site, such as circumventing the heavy-handed limiting of browsing abilities this site imposes.
In that case you could have two "modes" when adding a rule. A normal mode and an "agressive" mode which does extra stuff such as messing with text selection events.
So, when I add a website I get a choice between the normal mode and the agressive mode. The normal mode acts like it does now, and if that doesn't work, I can change that website to the agressive mode, which does the extra stuff you described.
What do you think? You can make the normal mode the default one and put a warning when selecting the agressive mode or something
That's certainly possible, my concern there is that it's a slippery slope to what others have suggested: making each intervention configurable for each site. Which I really don't want to do, as I feel the options form would be far too confusing and cluttered.
Closing due to inactivity.
Example page: https://www.pharma20.es/consejos-y-videoconsejos/vida-sana/biodramina-prospecto This issue is pretty simple to describe: it doesn't work at all lol. I can't even select the text. Using latest version of Chrome, reproduced on Windows and on Linux.
Thanks for your work btw