PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, July 15, 2022

[FIXED] How to create a non-editable website using JavaScript and Html

 July 15, 2022     html, javascript, web-deployment     No comments   

Issue

All of the websites I have seen can be edited using this function in the console of Inspect element window. I want to disable this operation. I am building a result sheet of an exam and I dont want others to edit (even locally and make it look realistic)

document.body.contentEditable=true

If this boolean is changed to true anyone can edit the website. So how to make sure that doesnot happen


Solution

You can't really prevent people from modifying your website locally. Try looking for other solutions.



Answered By - David MaĊĦek
Answer Checked By - Mildred Charles (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing