XtGem Forum catalog
Eaglenet logo
24/7 updates on happenings in africa
*RICHGANG 2015-10-18 18:57
Ah Need The Source Code Viewer Code
    ·
  • rated(0)
*LORDEAGLE said to RICHGANG 0n 2015-10-18 19:33
Copy here
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Eaglenet Source Code Viewer Using JavaScript</title>
</head>
<body>
    <div class="container section page-content">
<form name="jsf">
<p>Input Url WithOut "http://" Or "https://" Below To View Source</p>
<input type="text" name="url" size="30" value=""/>
<input type="button" value="view source" class="btn btn-md btn-info" onclick="viewSource(location,this.form.url)"/>
</form>    
</div>
<script>
function viewSource(l,x){
if(x.value==" "){return alert("No Input Value!");}
l.href="view-source://"+x.value;}
</script>
</body>
</html>

Copy code
    ·
  • rated(0)
*LORDEAGLE said to RICHGANG 0n 2015-10-18 19:33
Copy here
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Eaglenet Source Code Viewer Using JavaScript</title>
</head>
<body>
    <div class="container section page-content">
<form name="jsf">
<p>Input Url WithOut "http://" Or "https://" Below To View Source</p>
<input type="text" name="url" size="30" value=""/>
<input type="button" value="view source" class="btn btn-md btn-info" onclick="viewSource(location,this.form.url)"/>
</form>    
</div>
<script>
function viewSource(l,x){
if(x.value==" "){return alert("No Input Value!");}
l.href="view-source://"+x.value;}
</script>
</body>
</html>

Copy code
    ·
  • rated(0)
*RICHGANG said to Lordeagle 0n 2015-10-27 12:55
THANKS
    ·
  • rated(0)
*LORDEAGLE said to RICHGANG 0n 2015-10-27 16:46
U wcm
    ·
  • rated(0)
Oniline