Can I deny, or block certain HTML/JS functionality?

I just came across a site where the input text field had ‘oncopy=return false’ and ‘ondrag=return false’ which prevented me from copying the field contents. Is there a way to deny/block the execution of such handlers? I am the user and some website should not be able to restrict my actions this way.

@da16fd70d17

In order to reduce influence by websites:

In a Brave Browser New Window, go to: brave://settings/content

Scroll down to Additional permission . . . and set:

  • Protocol handlers: Don't allow sites to handle protocols
  • File editing: Don't allow sites to edit files or folders on your device
  • Clipboard: Don't allow sites to see text or images on your clipboard
  • Window management (later BB versions): Don't allow sites to manage windows on all your displays
  • Window placement (older BB versions): Don't allow sites use info about your screens to open and place windows

Scroll down to Content . . . and set:

  • Pop-ups and redirects: Don't allow sites to send pop-ups or use redirects