X
Tap here to go to the mobile version of the site.

Support Forum

How to avoid seeing page source using Firefox button > Web Developer > View Page Source

Posted

I want to hide my page source from users. I have disabled Ctrl+A, Ctrl+V, Ctrl+C, Ctrl+U. I disabled right click also. Now i want to protect my page source from Firefox->Tools-> Web Developer->page source option. Is it possible?

I want to hide my page source from users. I have disabled Ctrl+A, Ctrl+V, Ctrl+C, Ctrl+U. I disabled right click also. Now i want to protect my page source from Firefox->Tools-> Web Developer->page source option. Is it possible?

Additional System Details

Installed Plug-ins

  • npsitesafety
  • Shockwave Flash 11.7 r700
  • Adobe PDF Plug-In For Firefox and Netscape 10.0.0
  • 3.0.40818.0
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0

More Information

philipp
  • Top 10 Contributor
  • Moderator
3168 solutions 14661 answers

Helpful Reply

hello, no it won't be possible to "hide" the source code of a page, this kind of openness is just part of how the web works. users with technical knowledge will also have the possibility to work around your right-click and key-combination restrictions...

hello, no it won't be possible to "hide" the source code of a page, this kind of openness is just part of how the web works. users with technical knowledge will also have the possibility to work around your right-click and key-combination restrictions...

Helpful Reply

Thanks for your answer.By using the source page they can download the image and contents. So there is no use of disabling right click and Ctrl+C.... etc. Is it any other way to hide my page source? Could you please help me?

Thanks for your answer.By using the source page they can download the image and contents. So there is no use of disabling right click and Ctrl+C.... etc. Is it any other way to hide my page source? Could you please help me?
the-edmeister
  • Top 10 Contributor
  • Moderator
4081 solutions 30829 answers

http://en.wikipedia.org/wiki/Dynamic_Web_pages
vs.
http://en.wikipedia.org/wiki/Static_web_page


This support forum is geared toward Firefox users, not web development support.

You might try posting at the Web Development / Standards Evangelism forum at MozillaZine.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.

http://en.wikipedia.org/wiki/Dynamic_Web_pages<br /> vs.<br /> http://en.wikipedia.org/wiki/Static_web_page -------- This support forum is geared toward Firefox users, not web development support. You might try posting at the Web Development / Standards Evangelism forum at MozillaZine. <br /> http://forums.mozillazine.org/viewforum.php?f=25 <br /> You'll need to register and login to be able to post in that forum.
cor-el
  • Top 10 Contributor
  • Moderator
12905 solutions 118367 answers

Note that you can easily see the page source by prefixing an URL with the view_source: protocol.

Note that you can save images via "Tools > Page Info > Media", even images that are 'hidden' via a transparent image on top of them.

*http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features *http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings Note that you can easily see the page source by prefixing an URL with the view_source: protocol. Note that you can save images via "Tools > Page Info > Media", even images that are 'hidden' via a transparent image on top of them.