jswanner/DontF-WithPaste

Doesn't work at https://letters.gov.spb.ru/reception/form/

Closed this issue · 2 comments

This site is in Russian, I hope this is not a big problem :-)

You can easily find the largest multi-line field ("Содержание обращения") and they blocked pasting into this field. Seems like enabling your extension doesn't help.

Thanks.

@dosoft, you're right, the extension doesn't help there, unfortunately.

The extension prevents the most direct (and most common) methods that sites block paste, but it doesn't try to prevent all methods. Usually, this extension will at least let you use Edit -> Paste, but that's not the case with this site. The creators of this site are using pretty much every possible kind of event listener on that form element, and since their code is obfuscated it's not easy to figure out exactly how they are blocking paste.

This is not a satisfying, nor reusable, work-around, but one option is to open the JavaScript console and manipulate the element's value directly:

$$("#id_message")[0].value = "<your pasted content here>"

Closing due to inactivity.