Is it illegal to write code that could potentially disable developer tools in a browser? [closed]

StackOverflow https://stackoverflow.com/questions/18921084

Pergunta

I know you cannot disable the tools without changing the registry but is it illegal to block the user from hitting F12 or inhibiting them from accessing developer tools at all?

I ask this because there is a discussion going on about web accessibility and I'm trying to find proof that you should not do this. Please advise and thanks in advance.

Foi útil?

Solução

Assuming this is IE, and the user is in a corporate environment where she is on a crippled desktop and does not have the right/permission to install other programs like Firefox, Chrome then my answer is "No, it's not illegal."
The computer belongs to the employer and he decides who does what, assuming the user is expected to fulfill a very specific well-defined job.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top