Bug fixes

This commit is contained in:
redphx
2024-08-02 07:19:27 +07:00
parent 8c7e4650d4
commit 5db35cdcc9
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ const PATCHES = {
return false;
}
return PatcherUtils.replaceWith(str, text, '.track=function(e){},!!function(', index);
return PatcherUtils.replaceWith(str, index, text, '.track=function(e){},!!function(');
},
// Set disableTelemetry() to true

View File

@@ -6,7 +6,7 @@ import { getPref } from "./settings-storages/global-settings-storage";
export function addCss() {
const STYLUS_CSS = renderStylus();
const STYLUS_CSS = renderStylus() as unknown as string;
let css = STYLUS_CSS;
const PREF_HIDE_SECTIONS = getPref(PrefKey.UI_HIDE_SECTIONS);