-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRemove.html
More file actions
31 lines (31 loc) · 889 Bytes
/
Remove.html
File metadata and controls
31 lines (31 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Remove access</title>
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script>
var ip;
$.getJSON('http://jsonip.appspot.com/?callback=?',
function(data){
ip = data.ip;
});
function thisIP(){
if (document.getElementById("this").checked){
//document.getElementById("ip").disabled = true;
document.getElementById("ip").value = ip;
}else{
//document.getElementById("ip").disabled = false;
document.getElementById("ip").value = "";
}
}
</script>
</head>
<body>
<form method="post" action="Remove.php">
IP: <input type="text" name="ip" id="ip"></input> This computer? <input type="checkbox" id="this" onclick="thisIP()"></input><br/>
WARNING! Currently non-undoable. You gotta mean it.<br/>
<input type="submit"></input>
</form>
</body>
</html>