dimdenGD / OldTwitter

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

Website won't load at all, stuck at the blank Twitter bird screen #834

Open sz5ylv1a opened 3 months ago

sz5ylv1a commented 3 months ago

Describe the bug Any type of Twitter/X link refuses to load at all, essentially infinite loading. Only the Twitter bird shown in the screenshot appears. Tried to turn off custom CSS outside of the extensions, and other extensions that modify the site, but they didn't do anything.

Screenshots Screenshot 2024-06-09 at 21-23-56 Home - Twitter

Browser Firefox Nightly 128.0a1 (2024-06-09)

Links Affects all pages.

OldTwitter version 1.8.4.7

dimdenGD commented 3 months ago

Try turning off tracker protection or extensions that block trackers (like Disconnect)

t-r-s-a commented 3 months ago

simple solution: go back to 1.8.4.5

hanielstyle commented 3 months ago

Same problem on LibreWolf 126.0.1-1. Doesn't work even with Tracking Protection and uBlock disabled.

dimdenGD commented 3 months ago

what about Disconnect extension

dimdenGD commented 3 months ago

u can try finding what exactly blocks network request in devtools

hanielstyle commented 3 months ago

u can try finding what exactly blocks network request in devtools

These? https://abs.twimg.com/responsive-web/client-web/i18n/en.840ff0aa.js https://abs.twimg.com/responsive-web/client-web/main.bd891d6a.js https://abs.twimg.com/responsive-web/client-web/vendor.8075d18a.js

Blocked by Old Twitter Layout (2024)

dimdenGD commented 3 months ago

these are normal to be blocked, try finding ondemand.s

hanielstyle commented 3 months ago

these are normal to be blocked, try finding ondemand.s

cant find it

dimdenGD commented 3 months ago

then show errors in console f12

hanielstyle commented 3 months ago

then show errors in console f12


https://x.com/home
[HTTP/2 200  110ms]

GET
https://abs.twimg.com/responsive-web/client-web/vendor.8075d18a.js
Blocked By Extension

GET
https://abs.twimg.com/responsive-web/client-web/i18n/en.6a047dca.js
Blocked By Extension

GET
https://abs.twimg.com/responsive-web/client-web/main.87b67eda.js
Blocked By Extension

Error in parsing value for ‘-webkit-text-size-adjust’.  Declaration dropped. home:4:57
Unknown property ‘-moz-transition-property’.  Declaration dropped. home:171:36
GET
https://abs-0.twimg.com/emoji/v2/svg/26a0.svg
[HTTP/2 200  0ms]

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://abs.twimg.com/responsive-web/client-web/vendor.8075d18a.js. (Reason: CORS request did not succeed). Status code: (null).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://abs.twimg.com/responsive-web/client-web/i18n/en.6a047dca.js. (Reason: CORS request did not succeed). Status code: (null).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://abs.twimg.com/responsive-web/client-web/main.87b67eda.js. (Reason: CORS request did not succeed). Status code: (null).
Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' https://*.twimg.com https://recaptcha.net/recaptcha/ https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://client-api.arkoselabs.com/ https://www.google-analytics.com https://twitter.com https://x.com https://accounts.google.com/gsi/client https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js https://www.gstatic.com/cast/sdk/libs/caf_receiver/v3/cast_receiver_framework.js https://static.ads-twitter.com 'nonce-NDFjOGI3MzMtYWJmNC00MjRiLTkwMzktYjA0NTQ1NmNmMGUx'” (Missing 'unsafe-eval') home line 1 > injectedScript:28931:46
Unknown property ‘-moz-filter’.  Declaration dropped. home:354:17
Unknown pseudo-class or pseudo-element ‘-internal-media-controls-overlay-cast-button’.  Ruleset ignored due to bad selector. home:2481:7
Ruleset ignored due to bad selector. home:2992:6
Error: chrome.scripting.executeScript(...) is undefined undefined
POST
https://twitter.com/i/csp_report?a=O5RXE===&ro=false
[HTTP/2 200  47ms]

Error during challenge init: twchallenge.js:137:17
TypeError: NetworkError when attempting to fetch resource. twchallenge.js:138:17
GET
https://abs.twimg.com/favicons/twitter.3.ico```
dimdenGD commented 3 months ago

Unfortunately I dont see anything that would help me debug this

mateuszbrdon commented 3 months ago

image In my case, setting tracking protection as above resolved the issues. (I use NoScript, uBlock Origin, and Nano Defender, left them without change - only the above setting had any effect.)

ggtylerr commented 3 months ago

Same problem on LibreWolf 126.0.1-1. Doesn't work even with Tracking Protection and uBlock disabled.

Getting this on LibreWolf too. I suspect it's because RFP is enabled by default, but I can't verify that since even after adding https://abs.twimg.com to the exception list, it doesn't go through. My guess is that somehow it's preventing the addon from fetching the page - cause otherwise, the link it's trying to fetch does work...

totallytavi commented 4 weeks ago

Chiming in with my two cents because this happened.

For some strange reason Tracking Protection, when set to disallow trackers, causes an error regarding a security check failing. I disabled the tracker thing and it worked regularly (It also worked when set to inprivate windows, but I want the extension to work there so I just turned it off entirely) image