The first: view-source method
view-source is a protocol that basically every browser supported in the early days. But for some reason, IE no longer supports this protocol since IE6 Beta2. This method can only be used on FireFox browser now!
How to use: Enter in the browser address bar
view-source:
Enter to see the source code of the web page.
The second type: JavaScript method
This method does not seem to be universal either. It was successfully tested on IE6 and Opera browsers, but it was not successful on FireFox browsers!
How to use: Enter in the browser address bar
javascript: s=;("<body></body>");=s;
Enter to see the source code of the web page.
The third method: through the vbscript method
iLocal=""
iRemote=inputbox("Please enter the address you want to obtain the source code", "I","https://")
if iRemote="" then iRemote=""
Set xPost=createObject("")
"GET",iRemote,0
()
set sGet=createObject("")
=3
=1
()
iLocal,2
The fourth method: through background languages asp, php, etc.
Some of the methods used in this type of method are all webmaster level, so you can use original methods to obtain code. Haha, I won’t give specific codes here. I have a lot of specific codes in it.
view-source is a protocol that basically every browser supported in the early days. But for some reason, IE no longer supports this protocol since IE6 Beta2. This method can only be used on FireFox browser now!
How to use: Enter in the browser address bar
view-source:
Enter to see the source code of the web page.
The second type: JavaScript method
This method does not seem to be universal either. It was successfully tested on IE6 and Opera browsers, but it was not successful on FireFox browsers!
How to use: Enter in the browser address bar
Copy the codeThe code is as follows:
javascript: s=;("<body></body>");=s;
Enter to see the source code of the web page.
The third method: through the vbscript method
Copy the codeThe code is as follows:
iLocal=""
iRemote=inputbox("Please enter the address you want to obtain the source code", "I","https://")
if iRemote="" then iRemote=""
Set xPost=createObject("")
"GET",iRemote,0
()
set sGet=createObject("")
=3
=1
()
iLocal,2
The fourth method: through background languages asp, php, etc.
Some of the methods used in this type of method are all webmaster level, so you can use original methods to obtain code. Haha, I won’t give specific codes here. I have a lot of specific codes in it.