extend twitter.com style to x.com, as it sometimes redirects
This commit is contained in:
parent
126fdc32fd
commit
a0f79388e9
|
@ -252,7 +252,7 @@ window.alert = (message) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Extra: hide video players on twitter
|
// 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
|
// Function to hide the grandparent of video players
|
||||||
// takes 0.014ms to run, so performance is not the concern here.
|
// takes 0.014ms to run, so performance is not the concern here.
|
||||||
// timed with console.time, console.timeEnd
|
// timed with console.time, console.timeEnd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user