News for hackers. Stuff that matters.
Re:“autocomplete=off is ignored on non-login input elements” by harikb on Wednesday June 15, 2016 @04:06PM (#11911771)
I agree. I always hated sites that disable Paste, disable right-click or whatever.
Re:“autocomplete=off is ignored on non-login input elements” by yoo1I on Wednesday June 15, 2016 @04:30PM (#11911943)
Coincidentally, Google Docs does that. It disables right-click for copy/paste and prompts you in a popup to install some stupid app to re-enable this functionality.

... or you know CTRL-C/CTRL-V, cause there isn't really a good reason to prevent you pasting with a mouse.

I really don't get that

Re:“autocomplete=off is ignored on non-login input elements” by m741 on Wednesday June 15, 2016 @04:42PM (#11912014)
Google Docs did this for a specific reason. Browsers restrict access to the clipboard on general user actions (like click, right click, etc). On the other hand, if you use ctrl+C or ctrl+V, the website gets access to the clipboard, because it's a JS clipboard event. So those work in Docs. Think about it - do you want any website to just read everything off your clipboard?

Docs overrides right click because there's things you'd naturally want to do in a word processor with right click (format, link, comment, etc). Because docs shows a custom menu on right click, the browser will not expose the default menu, and without the default menu, there's no JS copy/paste event.

Browser extensions have more access, and that's why a browser extension re-enables the functionality.

So it was a design choice: the Docs team decided that giving users all these other right click actions was more important than allowing the user to right click to copy/paste without an extension (since most people use the keyboard shortcuts anyway).

Re:“autocomplete=off is ignored on non-login input elements” by Matt3o12_ on Wednesday June 15, 2016 @05:39PM (#11912355)
Good points, though, I don't agree with "most people use the keyboard shortcuts anyway".

Most not-so-tech-savvy users I know, don't know keyboard shortcuts, find them hard to remember, clumsy and slow (at least until they learn how to really use them).

I think that googles decision was valid and the best compromise they could have made. I really don't see a way how they could achieve both, without compromising the user's privacy in a manner that doesn't require a specific browser or extension.

Re:“autocomplete=off is ignored on non-login input elements” by borski on Wednesday June 15, 2016 @07:54PM (#11913018)
Most people, actually, use the toolbars. Neither right-click nor keyboard shortcuts come close to toolbar usage amongst "normals"
Re:“autocomplete=off is ignored on non-login input elements” by Matt3o12_ on Wednesday June 15, 2016 @08:38PM (#11913213)
The toolbar works just like that. It tells you to press command + V (or control + V on Windows) as well.
Re:“autocomplete=off is ignored on non-login input elements” by bbarn on Wednesday June 15, 2016 @04:30PM (#11911949)
I've had this bookmarklet for years on my toolbar, fixes all kinds of hijacks..

javascript:void(document.onmousedown=null);void(document.onclick=null);void(document.oncontextmenu=null)