- From: Jonathan Homer <jhomer@jasoftware.com>
- Date: Tue, 9 Sep 2014 09:00:37 +0100
- To: public-html@w3.org
- Message-ID: <CAG3EO=eoNOvcYOE2-p9x=Q2_+LwQv9sL63BpbKYP0y_0OOZX_g@mail.gmail.com>
Hi All Guessing this may be the place where to raise a suggestion to the HTML standard. If not could you point me in the right direction. Can/should we have a suggested not enforced no copy/paste/cut option added to the HTML standard. This would mean that for example in the use of web site you are trying to copy some text you can end up selecting the web site structure rather than the data. The whole screen turns blue ready to select, you then need to click somewhere else on the site to clear the selection creating a negative user experience. I was considering a simple cutcopy=”no” attribute in any visible tag. So you could do: <div cutcopy=”no”>Customer Name</div><div>Joe Bloggs</div> If you then try and copy the customer name a kind of soft stop would automatically select the name and not what I would describe as screen furniture (the Customer Name title), Another useful problem that would be also solved is when copying code like for example: <div cutcopy=”no”>1:</div><div>Line 1 of Code that we want</div></ br> <div cutcopy=”no”>2:</div><div>Line 2 of Code that we want</div></ br> <div cutcopy=”no”>3:</div><div>Line 3 of Code that we want</div></ br> <div cutcopy=”no”>4:</div><div>Line 4 of Code that we want</div></ br> <div cutcopy=”no”>5:</div><div>Line 5 of Code that we want</div></ br> Rather than getting the line number at the beginning by selecting the code the browser will know as a suggestion that it shouldn’t copy the 1: ,2:, 3: etc but just the data ie “Line 1 of code that we want”. By making it a “suggestion” to the browser it can be easily ignored if you do want to actually copy the code. Hope that makes sense. Thanks Jon Homer
Received on Tuesday, 9 September 2014 08:36:24 UTC