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
1import { defineConfig } from "wxt";
2
3export default defineConfig({
4 manifestVersion: 3, // Firefox MV3 is not supported by WXT
5 browser: "chrome",
6 manifest: {
7 permissions: [
8 "https://*.polytoria.com/*",
9 "storage",
10 "activeTab",
11 ],
12 browser_specific_settings: {
13 gecko: {
14 id: "index.business.purposes@gmail.com",
15 },
16 },
17 web_accessible_resources: [
18 {
19 "resources": [
20 "css/*",
21 "icon/*",
22 "images/*",
23 "svgs/*",
24 ],
25 "matches": ["https://*.polytoria.com/*"],
26 },
27 ],
28 },
29 runner: {
30 startUrls: ["https://polytoria.com/home"],
31 chromiumArgs: [
32 "--user-data-dir=./.wxt/chrome-data",
33 "--disable-blink-features=AutomationControlled",
34 ],
35 binaries: {
36 "chrome": "/Applications/Helium.app/Contents/MacOS/Helium",
37 },
38 },
39});