diff --git a/bin/inject-middle-theme.py b/bin/inject-middle-theme.py index 1b70243..afe711b 100755 --- a/bin/inject-middle-theme.py +++ b/bin/inject-middle-theme.py @@ -119,17 +119,34 @@ JS = """ FAVICON_LINKS = ( "" - "" - "" + "" + "" "" ) +FAVICON_HIJACK_JS = ( + "" +) src = target.read_text(encoding="utf-8") src = re.sub(re.escape(""), "", src, flags=re.DOTALL) src = re.sub(re.escape(""), "", src, flags=re.DOTALL) src = re.sub(r".*?", "", src, flags=re.DOTALL) +src = re.sub(r"", "", src, flags=re.DOTALL) -PATCH = "" + "" + FAVICON_LINKS +PATCH = "" + "" + FAVICON_LINKS + FAVICON_HIJACK_JS if "" not in src: sys.exit("no in target") src2 = src.replace("", PATCH + "", 1) diff --git a/web-overrides/index.html b/web-overrides/index.html index f4b151a..1e9eba2 100644 --- a/web-overrides/index.html +++ b/web-overrides/index.html @@ -319,4 +319,4 @@ body.arrflix-video-active:not(:has(#loginPage:not(.hide))) .skinHeader,body.arrf } if(document.readyState==='loading') document.addEventListener('DOMContentLoaded',start,{once:true}); else start(); })(); -/* ARRFLIX-MIDDLE-THEME-END */
\ No newline at end of file +/* ARRFLIX-MIDDLE-THEME-END */
\ No newline at end of file