3 ms·
Let's handle this like we handle things like location tracking, notifications, etc: ask the user. Except I don't think we should ask the user, because everyone
by pavel_lishin 7y ago
Let's handle this like we handle things like location tracking, notifications, etc: ask the user.
Except I don't think we should ask the user, because everyone will blindly click yes. I think we should disable this by default, and let Google Docs, etc., remind the user via some in-app modal with step-by-step instructions.
If someone actually needs this functionality, let them do the work to unlock it for a given website.
99.99999% of the web has no good reason to be modifying a user's clipboard.
- ArchReaper 7y agoI encourage you to read through the OP first on why your suggestion (remove copy-modification entirely) is not reasonable.
- pavel_lishin 7y agoAh: > The metro.co.uk code inserts an off-screen-positioned element with the disclaimer into the selection range, and you could just listen for selectionchange and/or mouse drag and/or keypress events to detect selection changes, and add/remove such an element based on those events. Well, shit.
- roywiggins 7y agoMy favorite scummy thing done to mess with browsers is to insert a noscript meta refresh redirect just to catch anyone who refuses to run the JavaScript adware embedded in their crappy local news website CMS. It must be standard in some local newspaper CMS and I've only ever seen it used on that sort of site. Never underestimate newspaper publishers' CMS vendors' ingenuity.