News for hackers. Stuff that matters.
Re:In Praise of AutoHotKey by superasn on Tuesday May 12, 2020 @10:43PM (#23162886)
> getting around websites that block pasting.

This one really drives me mad. Is there really any legit reason to this?

By the way my hack is I paste it in the address bar, then just drag-drop into the field. Works 50% of the time or more (fails when a lot of these stupid websites don't use placeholder attribute but rather use some sort of Javascript for the placeholder text)

Re:In Praise of AutoHotKey by pwg on Wednesday May 13, 2020 @12:18AM (#23163431)
>> getting around websites that block pasting.

> This one really drives me mad. Is there really any legit reason to this?

No. Which is why I set the about:config option "dom.event.clipboardevents.enabled" in Firefox to false. That turns off the ability of websites to block pasting in Firefox.

Re:In Praise of AutoHotKey by TeMPOraL on Wednesday May 13, 2020 @03:00AM (#23164242)
Oooh, neat! Thanks! I presume it would also defeat those idiotic "let's insert a backlink or an ad into the text you just copied" scripts.

Truly, there are very few legitimate reasons for a site to even know you've copied or pasted something. Makes me think this setting should be a whitelist.

Re:In Praise of AutoHotKey by slightwinder on Wednesday May 13, 2020 @04:43AM (#23164863)
> This one really drives me mad. Is there really any legit reason to this?

Yes, preventing you to steal their content.

Of course this only works against the technical layman, who does not even think about googeling for a solution to this.

Re:In Praise of AutoHotKey by chrismorgan on Tuesday May 12, 2020 @11:51PM (#23163303)
I use one site that completely unreasonably blocks paste with Ctrl+V. The Paste context menu item works, though, so I use `Menu P` instead of Ctrl+V.