mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-06 07:23:04 +02:00
add websocks demo
This commit is contained in:
parent
cfb673326e
commit
78dfcc4742
2 changed files with 209 additions and 0 deletions
14
websocks-demo/index.html
Normal file
14
websocks-demo/index.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title> irc client with WebSOCKS </title>
|
||||
<script src="websocks.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="style.css"></link>
|
||||
</head>
|
||||
<body>
|
||||
<label for="ws-server">WebSOCKS server:</label><input id="ws-server" value="ws://127.0.0.1:7766/"></input>
|
||||
<input id="irc-server" value="irc.dg.i2p"></input>
|
||||
<button onclick="ws_try_connect()">connect</button>
|
||||
<div id="irc-window">
|
||||
</div>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue