Skip to content

Commit c115bb1

Browse files
committed
adapt for additional upstream changes
1 parent 7d85783 commit c115bb1

File tree

5 files changed

+7814
-32
lines changed

5 files changed

+7814
-32
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,5 @@
6464
"vite": "2.9.16",
6565
"vite-plugin-web-extension": "^1.4.0",
6666
"vite-plugin-zip-pack": "1.0.7"
67-
},
68-
"dependencies": {}
67+
}
6968
}

src/components/YtcFilterSetup.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import '../stylesheets/ui.css';
55
import '../stylesheets/line.css';
66
import { exioButton, exioComponent, exioIcon, exioZoomInAnimation } from 'exio/svelte';
7-
import { getBrowser, Browser } from '../ts/chat-constants';
87
import { onMount } from 'svelte';
98
import ExioRadios from './common/ExioRadios.svelte';
109
import { downloadV2Data, getV2Storage, migrateV2toV3, readFromJson } from '../ts/ytcf-logic';
@@ -23,7 +22,7 @@
2322
let v2BackupSkipped = false;
2423
onMount(async () => {
2524
if (paramsTabId != null && paramsFrameId != null && paramsTabId.length >= 1 && paramsFrameId.length >= 1) {
26-
if (getBrowser() === Browser.FIREFOX) {
25+
if (__BROWSER__ === 'firefox') {
2726
const frameInfo = {
2827
tabId: parseInt(paramsTabId),
2928
frameId: parseInt(paramsFrameId)

src/hyperchat.html

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons&display=swap" rel="stylesheet">
63

74
<head>
85
<meta charset="UTF-8">
9-
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons&display=swap" rel="stylesheet">
6+
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons&display=swap"
7+
rel="stylesheet">
108
<script defer="defer" type="module" src="/hyperchat.ts"></script>
11-
<title>YtcFilter Popout</title>
12-
<style id="shift-screenshot"></style>
13-
<style>
14-
body {
15-
background-color: transparent;
16-
}
17-
</style>
189
</head>
10+
<title>YtcFilter Popout</title>
11+
<style id="shift-screenshot"></style>
12+
<style>
13+
body {
14+
background-color: transparent;
15+
}
16+
</style>
1917

20-
<body style="background-color: transparent;">
21-
<body>
22-
<script type="module" src="/hyperchat.ts"></script>
23-
</body>
24-
</html>
18+
<body style="background-color: transparent;" />
19+
20+
</html>

src/options.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons&display=swap" rel="stylesheet">
63

74
<head>
85
<meta charset="UTF-8">
96
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons&display=swap"
107
rel="stylesheet">
11-
<title>YtcFilter Settings</title>
12-
<style>
13-
/* Ensure the window's big enough when in the action popup */
14-
html {
15-
min-height: 50em;
16-
min-width: 50em;
17-
}
18-
</style>
19-
<script defer="defer" type="module" src="/options.ts"></script>
208
</head>
9+
<title>YtcFilter Settings</title>
10+
<style>
11+
/* Ensure the window's big enough when in the action popup */
12+
html {
13+
min-height: 50em;
14+
min-width: 50em;
15+
}
16+
</style>
17+
<script defer="defer" type="module" src="/options.ts"></script>
18+
19+
</html>

0 commit comments

Comments
 (0)