dimdenGD / OldTwitter

Extension to return old Twitter layout from 2015 / 2018.
https://chrome.google.com/webstore/detail/old-twitter-layout-2022/jgejdcdoeeabklepnkdbglgccjpdgpmf
Other
1.89k stars 164 forks source link

Twitter constantly refreshes #648

Open ParkerGit2328 opened 11 months ago

ParkerGit2328 commented 11 months ago

Twitter is constantly refreshing when I click almost anything.

dimdenGD commented 11 months ago

It means that OldTwitter failed to properly inject, there's lot of randomness to this, not sure what causes this to be more or less frequent

alchzh commented 10 months ago

Workaround: if you open the twitter tab in the background with "Open Link in New Tab" or immediately switch to a different tab after opening Twitter, it always loads properly when you switch back. The issue only occurs when you open the page and wait for it without switching off.

For me the indefinite refresh loops are coming from

https://github.com/dimdenGD/OldTwitter/blob/7168e5035195f3a8c4e2840270099c2d57c1b2eb/layouts/home/script.js#L436

https://github.com/dimdenGD/OldTwitter/blob/7168e5035195f3a8c4e2840270099c2d57c1b2eb/layouts/tweet/script.js#L786

Maybe the checks to set these timeouts are being executed too soon?

TheMagicalSquid commented 7 months ago

I'm getting this problem now on Firefox. It just started happening out of nowhere after months of use with no problems. I tested with all add-ons off except for this one and still got the infinite refreshing. Also tried the workaround above. It doesn't work for me at all