📄 client.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" href="styles/screen.css" type="text/css"/>
<script src="scripts/jquery.js" type="text/javascript"></script>
<script src="scripts/init.js" type="text/javascript"></script>
<title>title</title>
</head>
<body>
<h1 id="header">title</h1>
<ul id="navigation"></ul>
<div class="message">The local network address will be enumerated only if the current page is retrieved from a remote location.</div>
<form>
<label for="platform">platform</label><br/>
<input name="platform" type="text" size="50"/><br/>
<label for="browser">browser</label><br/>
<input name="browser" type="text" size="50"/><br/>
<label for="hostname">hostname</label><br/>
<input name="hostname" type="text" size="50"/><br/>
<label for="address">address</label><br/>
<input name="address" type="text" size="50"/><br/>
<label for="plugins">plugins</label><br/>
<textarea name="plugins" cols="50" rows="10"></textarea><br/>
<input name="getInfo" value="Get Info" type="button"/>
<input name="reset" value="reset" type="reset"/>
</form>
<script src="../lib/AttackAPI/AttackAPI.js" type="text/javascript"></script>
<script src="../lib/AttackAPI/Client.js" type="text/javascript"></script>
<script>
$('input[@name="getInfo"]').click(function () {
var form = $(this).parent().get(0);
form.platform.value = AttackAPI.Client.getPlatformInfo().platform;
form.browser.value = AttackAPI.Client.getBrowserInfo().browser;
var plugins = AttackAPI.Client.getPluginsInfo();
for (index = 0; index < plugins.length; index++)
form.plugins.value += plugins[index].name + "\n";
var network = AttackAPI.Client.getNetworkInfo();
form.hostname.value = network.hostname;
form.address.value = network.address;
});
</script>
<p id="footer"><a href="http://www.gnucitizen.org">GNUCITIZEN</a> © 2006 all rights reserved</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -