Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 4 réponses
  • 2 ont ce problème
  • 3 vues
  • Dernière réponse par cor-el

more options

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?

Toutes les réponses (4)

more options

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...

more options

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?

more options

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.

more options

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.