Hello! How can I prevent the page code from being viewed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

Hello! How can I prevent the page code from being viewed?

14th Jul 2020, 1:24 PM
Alex Pshenichny ⚪🔴⚪
Alex Pshenichny ⚪🔴⚪ - avatar
18 Answers
+ 11
Outside of sololearn.
14th Jul 2020, 2:08 PM
Alex Pshenichny ⚪🔴⚪
Alex Pshenichny ⚪🔴⚪ - avatar
+ 10
Please, help me!
14th Jul 2020, 1:25 PM
Alex Pshenichny ⚪🔴⚪
Alex Pshenichny ⚪🔴⚪ - avatar
+ 10
Its not clear , what does "Page Code" refers to? Is it regarding your code in sololearn or some website content outside of sololearn?
14th Jul 2020, 1:31 PM
Morpheus
Morpheus - avatar
+ 6
You cant do that in sololearn neither on the internet. A person can see ur code on internet by inspecting the page. theres no way of hiding your code. tho ur question is still kinda unclear, What do you mean by "page code"?
14th Jul 2020, 1:28 PM
Billy Beagle
+ 4
This is only done with server side programming, you cannot do this with client side hopefully you understand now.
15th Jul 2020, 5:37 PM
Thomas Lunger
Thomas Lunger - avatar
14th Jul 2020, 1:54 PM
Gordon
Gordon - avatar
+ 3
You need to have your own web development language which actually no one can understand. Example like this: Ebksoaj)/jsisn/()#(//!*?)//iwnonxkakwebviewmakamlpanxji ;*;"/++*!jankaoakqjbdllajjs Ohhh yeahhh boy ;)
16th Jul 2020, 7:39 PM
ManabJB
ManabJB - avatar
+ 2
No.
15th Jul 2020, 10:55 AM
JaScript
JaScript - avatar
+ 2
Make it private ! It's simple .. There are two ways to do so First: While saving you get the option of making it public or private Second: After posting it you need to go to your code and their select options there only you will get the option to make it private!! Hope it helped you
15th Jul 2020, 2:27 PM
Anjali Shaw
Anjali Shaw - avatar
+ 2
I'm tempted to say: "put it on private" but I think your question is not properly written. Please, explain your question properly to us.
15th Jul 2020, 5:05 PM
👑 Tchybooxuur!
👑 Tchybooxuur! - avatar
+ 2
Make it private...!
16th Jul 2020, 8:06 AM
Mantafounis Panagiotis
Mantafounis Panagiotis - avatar
+ 2
What do you mean by page code? If you are asking about code bits then make them private!
16th Jul 2020, 12:37 PM
Jaya Singh
Jaya Singh - avatar
21st Jul 2020, 8:34 AM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 1
There's one way of doing this, that is encrypt your code like WhatsApp web does.
15th Jul 2020, 8:55 AM
Shivam Kumar
Shivam Kumar - avatar
+ 1
You can just obfuscate to make it harder for others but cant prevent sadly
16th Jul 2020, 2:27 AM
Gyan Prakash Singh Jaruhar
Gyan Prakash Singh Jaruhar - avatar
+ 1
U can't hide code on ur page code**
16th Jul 2020, 3:45 AM
Ofodum Victor
+ 1
By my side there would be no option of hiding your web page code
16th Jul 2020, 4:17 AM
Mayank Gupta
Mayank Gupta - avatar
+ 1
@Bagon , you can encrypt sites using staticrypt(https://robinmoisson.github.io/staticrypt/) to password protect html.
16th Jul 2020, 7:15 AM
Soham Mishra
Soham Mishra - avatar