commit a0f79388e98a323471463ee9bbfeed74c525eb33
parent 126fdc32fd92dd7946c7bfd954e32deb79600728
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date: Wed, 12 Jun 2024 07:40:59 -0400
extend twitter.com style to x.com, as it sometimes redirects
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/style/style.js b/plugins/style/style.js
@@ -252,7 +252,7 @@ window.alert = (message) => {
};
// Extra: hide video players on twitter
-if (document.domain == "twitter.com") {
+if (document.domain == "twitter.com" || document.domain == "x.com") {
// Function to hide the grandparent of video players
// takes 0.014ms to run, so performance is not the concern here.
// timed with console.time, console.timeEnd