W3C home > Mailing lists > Public > public-webappsec@w3.org > February 2016

Re: new meta tags to protect code visibility or immuatbility

From: Daniel Veditz <dveditz@mozilla.com>
Date: Wed, 24 Feb 2016 01:56:26 -0800
To: Ahmed Saleh <ahmedzs@live.ca>
Cc: Mitar <mmitar@gmail.com>, Brad Hill <hillbrad@gmail.com>, Craig Francis <craig.francis@gmail.com>, "public-webappsec@w3.org" <public-webappsec@w3.org>
Message-ID: <56CD7E4A.8000702@mozilla.com>
On 2/24/16 1:03 AM, Ahmed Saleh wrote:
> Some websites disable right click buttons and copying. Isn't that a
> violation of the rule as well? (I.e. Users should be allowed to copy
> contents but the feature is disabled)

It's only a violation if the browser doesn't give the user a way to
override the web site. Browsers exposed the contextmenu event because
web sites can use that to benefit the user by offering options relevant
to the functionality of the web site (e.g. Google Docs offer a large
number of word processing options).

If you find an evil site misusing the event you can disable it in
Firefox, but then you also lose the benefit on well behaved sites.

-Dan Veditz
Received on Wednesday, 24 February 2016 09:56:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:54 UTC