mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-26 21:21:53 +08:00
add popup.js and background
This commit is contained in:
+6
-3
@@ -1,10 +1,13 @@
|
||||
<!-- popup.html -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Popup</title>
|
||||
<title>WebSocket Connector</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>My Chrome Extension</h1>
|
||||
<p>This is a sample popup.</p>
|
||||
<p id="wsStatus"></p>
|
||||
<input type="text" id="wsUrl" placeholder="Enter WebSocket URL">
|
||||
<button id="connectBtn">Connect WebSocket</button>
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user