2022-11-22 21:50:32 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
|
|
|
|
<title>WebUSB API</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>WebUSB API</h1>
|
|
|
|
|
|
|
|
<button id="clickme">Test WebUSB</button>
|
|
|
|
|
|
|
|
<h3>USB devices automatically granted access via <i>setDevicePermissionHandler</i></h3>
|
|
|
|
<div id="granted-devices"></div>
|
2023-02-01 11:59:16 +00:00
|
|
|
|
2022-11-22 21:50:32 +00:00
|
|
|
<h3>USB devices automatically granted access via <i>select-usb-device</i></h3>
|
|
|
|
<div id="granted-devices2"></div>
|
|
|
|
|
|
|
|
<script src="./renderer.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|