A rewrite of Poly+, my quality-of-life browser extension for Polytoria. Built entirely fresh using the WXT extension framework, Typescript, and with added better overall code quality.
extension
1<!doctype html>
2<html>
3 <head>
4 <!-- META TAGS -->
5 <meta charset="utf-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7
8 <!-- PUBLIC -->
9 <title>Poly+ Settings</title>
10
11 <!-- RESOURCES -->
12 <link rel="stylesheet" href="chrome-extension://eibbilkmpnkmdacjlfbcjodnkmgmggbc/css/polytoria.css" />
13 </head>
14 <body style="width: 245px;">
15 <div class="p-2 pt-0">
16 <small class="text-muted" style="font-size: 0.7rem;">quick links</small>
17 <br>
18 <a href="/preferences.html" class="btn btn-primary btn-sm w-100 mb-1" id="settings-btn" target="_window">Settings</a>
19 <a href="https://polytoria.com/my/settings/polyplus#debug" class="btn btn-warning btn-sm w-100 mb-1 disabled" target="_window">Debug</a>
20 <div class="d-flex" style="gap: 5px;">
21 <a href="https://chromewebstore.google.com/detail/poly+/feafepokhecfmimpepbpccmcnjbcbklg" class="btn btn-dark btn-sm w-100" target="_window"><img src="/images/chrome-icon.svg" alt="Chrome Webstore" width="25" height="25"></a>
22 <a href="https://addons.mozilla.org/en-US/firefox/addon/polytoriaplus/" class="btn btn-dark btn-sm w-100" target="_window"><img src="/images/firefox-icon.svg" alt="Chrome Webstore" width="25" height="25"></a>
23 </div>
24
25 <hr class="mt-2 mb-3" style="color: #2b2b2b;">
26
27 <small class="text-muted" style="font-size: 0.7rem;">extract texture from item</small>
28 <br>
29 <div class="input-group">
30 <input type="text" class="form-control form-control-sm" placeholder="Item ID..">
31 <button class="btn btn-success btn-sm" id="extract-texture">Extract</button>
32 </div>
33 </div>
34 <script src="main.ts" type="module"></script>
35 </body>
36</html>