Unable to view the HTML source code of a web page
Could you please post the HTML source code of this web page:
http://www.xuanyinwen.com/test3.html
I jus开发者_运维知识库t cannot figure out how to retrieve it..
You can use wget or switch off JavaScript.
P.S.: The magic word is "wen"
.
Just use "View source" option from tool menu in browser.
<head>
<script language="JavaScript">
var password;
var pass1="wen";
password = prompt('Whats The Magic Word?',' ');
if (password === pass1)
alert('That Is Correct!');
else
window.location="SITE-LINK";
</script>
</head>
<body onLoad="ImageBook()">
TEST
</body>
</html>
"Right-Click + Save Link/Target As..." can be helpful sometimes :) There are several methods of doing this.
<head>
<script language="JavaScript">
var password;
var pass1="wen";
password = prompt('Whats The Magic Word?',' ');
if (password === pass1)
alert('That Is Correct!');
else
window.location="SITE-LINK";
</script>
</head>
<body onLoad="ImageBook()">
TEST
</body>
</html>
Either disable JavaScript on your browser, or use some kind of command line tool (e.g curl).
<head>
<script language="JavaScript">
var password;
var pass1="wen";
password = prompt('Whats The Magic Word?',' ');
if (password === pass1)
alert('That Is Correct!');
else
window.location="SITE-LINK";
</script>
</head>
<body onLoad="ImageBook()">
TEST
</body>
</html>
Use firebug in firefox and select the script.
<head>
<script language="JavaScript">
var password;
var pass1="wen";
password = prompt('Whats The Magic Word?',' ');
if (password === pass1)
alert('That Is Correct!');
else
window.location="SITE-LINK";
</script>
</head>
<body onLoad="ImageBook()">
TEST
</body>
</html>
Type in keyboard Ctrl + U in windows 10
精彩评论