You can not hide the source code. But you can try to obfuscate the source to make it harder to reverse engeneer your code. If you use PHP than take a look at the free Html Encoder for ionCube. But be aware that your visitors can always see the DOM tree and reverse engeneer the code. And remember: When your visitors disabled javascript they can't access your site.
Disable scrolling bar in browser when viewing source code
-
27-09-2022 - |
Question
After reading this post I'm curious to know if it is possible to disable scrolling eg: overflow:hidden
when viewing source code of a web page.
I have read that it is not professional to try to hide the source code of a web page and I agree with that so my question is more about "what can be done or not" and not about "should I do it or not".
Thank you.
La solution
Autres conseils
Not possible and even if it was, it would be pointless, as one could always get the source otherways. E.g. cURLing it.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow