Skip to content

use form, input name, and autcomplete to remember past URLs #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<div id="content">
<fieldset>
<legend>Server Location</legend>
<div>
<form>
<label>URL:</label>
<input type="text" id="serverUrl" value="ws://"/>
<button id="connectButton">Open</button>
<input type="text" id="serverUrl" name="serverUrl" autocomplete="on" value="ws://"/>
<button id="connectButton" type="submit">Open</button>
<button id="disconnectButton">Close</button>
</div>
</form>
<div>
<label>Status:</label>
<span id="connectionStatus">CLOSED</span>
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ new function() {
sendButton = $('#sendButton');

connectButton.click(function(e) {
e.preventDefault();
close();
open();
});
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Simple WebSocket Client",
"manifest_version": 2,
"version": "0.1.3",
"version": "0.2.3",
"description": "Construct custom Web Socket requests and handle responses to directly test your Web Socket services.",
"icons": {
"16": "resources/icon_032.png",
Expand Down