Prerequisites
I tried to reproduce the issue when...
Description
Hello uBlock,
I’m sorry if this isn’t the correct forum for this question. I’m trying to use prevent-clipboard-write to block text that is automatically added to the clipboard when copying text from pages that use Drupal’s AddToCopy module (jQuery AddToCopy). I’ve tried several variations of prevent-clipboard-write, but none of them seem to work. Does AddToCopy use something other than navigator.clipboard.writeText()?
I tried many variations like:
- ##+js(prevent-clipboard-write, /.*/, domAlert, body|Clickfix attempt defused)
- ##+js(prevent-clipboard-write, /.*/)
- ##+js(prevent-clipboard-write)
A specific URL where the issue occurs.
https://www.drupal.org/project/addtocopy
Steps to Reproduce
-
- ##+js(prevent-clipboard-write, /.*/, domAlert, body|Clickfix attempt defused)
- Test on the website
- Not working
Expected behavior
To block added text when copying text from the website
Actual behavior
Not blocking
Configuration
uBlock version 1.74.0
Prerequisites
I tried to reproduce the issue when...
Description
Hello uBlock,
I’m sorry if this isn’t the correct forum for this question. I’m trying to use prevent-clipboard-write to block text that is automatically added to the clipboard when copying text from pages that use Drupal’s AddToCopy module (jQuery AddToCopy). I’ve tried several variations of prevent-clipboard-write, but none of them seem to work. Does AddToCopy use something other than navigator.clipboard.writeText()?
I tried many variations like:
A specific URL where the issue occurs.
https://www.drupal.org/project/addtocopySteps to Reproduce
Expected behavior
To block added text when copying text from the website
Actual behavior
Not blocking
Configuration
uBlock version 1.74.0