News for hackers. Stuff that matters.
Re:Let them paste passwords (2017) by canistel on Friday June 19, 2020 @11:32PM (#23581365)
Being a Firefox user, I have set dom.event.contextmenu.enabled and dom.event.clipboardevents.enabled set to false, so that I can continue right-clicking and pasting.
Re:Let them paste passwords (2017) by Caligatio on Saturday June 20, 2020 @12:38AM (#23581707)
I recommend checking out the "Don't F$#k with Paste" extension which allows you to essentially control the setting per site: https://addons.mozilla.org/firefox/addon/don-t-fuck-with-pas...

There is also a version for Chrome: https://chrome.google.com/webstore/detail/dont-fuck-with-pas...

EDIT: Made the link locale independent and censored the name better.

Re:Let them paste passwords (2017) by nabeards on Saturday June 20, 2020 @02:42PM (#23585804)
If you are on macOS, I have two Services I use to get around these.

Paste as Keyed Characters types in the contents of the clipboard for you [0].

Paste AlphaNumeric Only will only paste in letters and numbers from the clipboard [1]. Very useful when pasting contact phone numbers into forms that only allow numbers.

[0] https://gitlab.com/snippets/1988681

[1] https://gitlab.com/snippets/1988680

Re:Let them paste passwords (2017) by CivBase on Friday June 19, 2020 @11:36PM (#23581400)
Is there a way to quickly toggle those on and off?
Re:Let them paste passwords (2017) by momzer on Saturday June 20, 2020 @12:28AM (#23581666)
I'm not sure if it's the same thing, but usually, holding shift while right clicking enables the context menu in Firefox.
Re:Let them paste passwords (2017) by gear54rus on Saturday June 20, 2020 @12:56AM (#23581793)
Why do you need to toggle them? Isn't pasting and right clicking useful everywhere?
Re:Let them paste passwords (2017) by function_seven on Saturday June 20, 2020 @01:39AM (#23581986)
Some SPAs and other sites have useful right click actions that I want to preserve. Does this setting disable those?

(For the pasting, I agree with you. I can't think of a single reason I'd want a website to prevent me from pasting)

Re:Let them paste passwords (2017) by canistel on Saturday June 20, 2020 @02:44AM (#23582264)
You do not end up losing those. Both the popup menus - the site's as well as the browser's - are shown, the latter on top of the former. Press Esc to make your browser's vanish, and you still have the site's available.
Re:Let them paste passwords (2017) by function_seven on Saturday June 20, 2020 @02:48AM (#23582283)
Thanks. I just toggled both of those settings.
Re:Let them paste passwords (2017) by maple3142 on Saturday June 20, 2020 @03:29AM (#23582428)
I thought some complex web app (editor like) supports copying and pasting complex non-text structure.