extend twitter.com style to x.com, as it sometimes redirects

This commit is contained in:
NunoSempere 2024-06-12 07:40:59 -04:00
parent 126fdc32fd
commit a0f79388e9

View File

@ -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