alienA2 Posted December 20, 2011 Share Posted December 20, 2011 Is there a way to disable people from viewing inspect element on your website? Link to comment Share on other sites More sharing options...
Ingolme Posted December 20, 2011 Share Posted December 20, 2011 No. Your page's source code is completely open and transparent to everybody. Link to comment Share on other sites More sharing options...
alienA2 Posted December 21, 2011 Author Share Posted December 21, 2011 No. Your page's source code is completely open and transparent to everybody. Why is it that this guys website, I cannot right click to view inspect element???http://urbanmalawi.co.cc/index.php?cmd=home Link to comment Share on other sites More sharing options...
Ingolme Posted December 21, 2011 Share Posted December 21, 2011 It's a Javascript right-click disable code. It's pretty useless.Instead of right-clicking, you can just open up the DOM inspector and use the "select element" button that allows you to left-click on any element to inspect it. You can also disable Javascript for that page.You can press Control+U to view the source code of the page directly. Link to comment Share on other sites More sharing options...
thescientist Posted December 21, 2011 Share Posted December 21, 2011 Why is it that this guys website, I cannot right click to view inspect element???http://urbanmalawi.c...ex.php?cmd=home the fact of the matter is, if it's renderable in a browser, the source code is viewable one way or the other. A developer cannot hide/obfuscate his code from the browser, only from the user so it all seems rather moot as browsers come bundled with increasingly more sophisticated and accessible developer tools. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.