wvg/popup.html
2024-04-25 03:37:31 +09:00

59 lines
2.0 KiB
HTML

<html>
<head>
<meta charset="UTF-8">
<title>Widevine L3 Guessor 2024</title>
<style>.hidden{display:none}</style>
<script src="pyodide/pyodide.js"></script>
</head>
<body>
<div id="noEME">
Widevine content hasn't detected in this page.<br>
Open widevine-protected website and try again!
</div>
<div id="home" class="hidden">
<button id="historyButton">Show History</button><br><br>
<form id="wvForm">
<label for="pssh">PSSH</label>
<input type="text" id="pssh" disabled/>
<input type="hidden" id="psshIndex" />
<input type="button" id="psshButton" value="Select" /><br>
<label for="license">License URL</label>
<input type="text" id="license" disabled/>
<input type="hidden" id="licenseIndex" />
<input type="button" id="licenseButton" value="Select" /><br>
<label for="scheme">Challenge scheme</label>
<select id="scheme">
<option value="CommonWV">CommonWV</option>
<option value="DRMToday">DRMToday</option>
</select><br>
<input type="button" id="guess" value="Guess!"><br>
<label for="result" disabled>Result:</label><br>
<textarea id="result" rows="10" cols="50"></textarea>
</form>
</div>
<div id="selectPssh" class="hidden">
<input type="text" id="psshSearch" placeholder="Search">
<ul id="psshList"></ul>
</div>
<div id="selectRequest" class="hidden">
<input type="text" id="requestSearch" placeholder="Search">
<ul id="requestList"></ul>
</div>
<div id="history" class="hidden">
<button id="backHistory">🔙 Back</button>
<button id="saveHistory">💾 Save History</button>
<button id="clearHistory">❌ Clear History</button>
<div id="histDisp"></div>
</div>
</body>
<script src="popup.js" type="module"></script>
<script src="popup_drawList.js"></script>
<script src="jsonview.js"></script>
<script src="popup_showHistory.js"></script>
</html>