News for hackers. Stuff that matters.
Re:Twitter cut off the ability to read a tweet by fetching i... by shakow on Friday December 18, 2020 @06:27AM (#25466060)
Speaking of Twitter UI, am I the only one having to hard refresh every other Twitter page to get rid of the “This is not available for you” message?
Re:Twitter cut off the ability to read a tweet by fetching i... by k_ on Friday December 18, 2020 @06:35AM (#25466102)
You need to clear your service workers for twitter

Edit:

- on chrom(e|ium) based browsers: chrome://serviceworker-internals/

- on firefox: about:debugging and scroll to service workers section

Re:Twitter cut off the ability to read a tweet by fetching i... by shakow on Friday December 18, 2020 @06:41AM (#25466133)
1. Why do I have to do that; what is the underlying bug?

2. How comes such a bug is still in production for months?

Re:Twitter cut off the ability to read a tweet by fetching i... by k_ on Friday December 18, 2020 @06:49AM (#25466187)
They deployed a bugged service worker long ago (beginning of 2020 or something), but service workers can be hard to replace because they tamper with requests and cache. "Technically" it's been fixed in production for a while, but it doesn't propagate so many still have the bug.. Still seems very strange to me that they allowed this situation to happen for such a huge (in traffic) website.

Not sure how exactly the service worker was broken (I didn't have the curiosity to check in devtools, and now it's gone), but I had this exact same issue and saw other people having it right here on HN, and this was the way to solve it too.

Re:Twitter cut off the ability to read a tweet by fetching i... by shakow on Friday December 18, 2020 @08:53AM (#25467051)
I see. Thanks!
Re:Twitter cut off the ability to read a tweet by fetching i... by panarky on Friday December 18, 2020 @05:36PM (#25472933)
Or use incognito for Twitter, and you'll you'll get fresh service workers every time.
Re:Twitter cut off the ability to read a tweet by fetching i... by vimy on Friday December 18, 2020 @07:05AM (#25466296)
Not possible in Safari I guess?
Re:Twitter cut off the ability to read a tweet by fetching i... by matrixagent on Friday December 18, 2020 @07:21AM (#25466383)
https://www.danielhill.com.au/removing-service-workers-from-...

Now I'm trying to figure out how to do it on Mobile Safari, where this bug always hits me.

Re:Twitter cut off the ability to read a tweet by fetching i... by ballenf on Friday December 18, 2020 @08:16AM (#25466720)
Go to settings/safari/advanced/website data. At least clearing there worked for me.
Re:Twitter cut off the ability to read a tweet by fetching i... by matrixagent on Friday December 18, 2020 @11:50AM (#25468932)
Thanks, if that works that would be amazing. I'm most often getting it inside in-app browsers, e.g. when opening a Twitter link in Tweetbot, Apollo or similar apps. Not sure if they share the same central settings/service workers.
Re:Twitter cut off the ability to read a tweet by fetching i... by matrixagent on Friday December 18, 2020 @08:20PM (#25474087)
I'm afraid that does not solve this particular problem, just happened again on the very first try. I still think this is intentional or at least happily accepted on part of Twitter, with the happy side effect to make it as shitty an experience as possible when you're not using their app.
Re:Twitter cut off the ability to read a tweet by fetching i... by k_ on Friday December 18, 2020 @07:16AM (#25466348)
Should be possible, I just don't know how
Re:Twitter cut off the ability to read a tweet by fetching i... by M2Ys4U on Friday December 18, 2020 @07:15AM (#25466344)
about:serviceworkers is also a way to view them on firefox
Re:Twitter cut off the ability to read a tweet by fetching i... by oarfish on Friday December 18, 2020 @06:30AM (#25466075)
No, I as well always use uMatrix's reload with cache bypass to circumvent the block.