Giter Site home page Giter Site logo

dimdengd / oldtwitter Goto Github PK

View Code? Open in Web Editor NEW
1.8K 23.0 158.0 9.78 MB

Extension to return old Twitter layout from 2015 / 2018.

Home Page: https://chrome.google.com/webstore/detail/old-twitter-layout-2022/jgejdcdoeeabklepnkdbglgccjpdgpmf

License: Other

HTML 5.42% JavaScript 81.78% CSS 12.80%
chrome-extension firefox-addon firefox-extension twitter twitter-client chrome chromium-extension

oldtwitter's Issues

Homepage tweets not loading

Describe the bug
Tweets on the homepage don't load and a message stuck on saying "Loading tweets"

To Reproduce
Open https://twitter.com/home in FireFox

Screenshots
image

Expected behavior
Tweets should be loaded instead of a message saying loading tweets

Browser
Firefox latest

ERROR

TypeError: Cannot read properties of undefined (reading ’split’) at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:1119:435) at async renderTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/home/script.js:337:17) at 1614387271310151680 (OldTwitter v1.6.6.0)

japanese fix

JapaneseFix.zip
the japanese translation is now complete(flawless translation)

there is a mistake in korean so i will try to correct it when have time

Notification Bubble won't disappear

Describe the bug
Notification Bubble won't disappear after checking notifications, only disappears while on the notifications page

Screenshots
image
image
image

Browser
Opera GX LVL4

Old Twitter legacy

it requires chrome 88+
is there a legacy edition for older chrome versions ?

Scrolling on a tweet is janky

Describe the bug
When scrolling on a tweet, it scrolls the whole tweet "frame" instead of scrolling to the comments.

To Reproduce
Click on a tweet with more than 6 or so replies, then scroll while your cursor is not over the tweet.

Expected behavior
While this is technically intended behaviour, its supposed to scroll the comments once the frame has reached the top of the screen.

Screenshots
image
image
(doesn't scroll any further)

Browser
Firefox, latest

"X liked" dialog not showing up on timeline, but the tweet is

Describe the bug
a user i am not following appears on the timeline. when switching to regular twitter view it shows that it was a post liked by someone i did follow.

To Reproduce
settings: reverse chronological with friend likes. find a tweet on TL from a user you do not follow and it will not say that the post was liked by someone you follow

Expected behavior
the tweet should say who liked the post, which caused it to show up on the timeline

Screenshots
https://i.imgur.com/ubwtmfb.png
https://i.imgur.com/WkHZuG8.png

Browser
chrome 108

Tweet Notifications not working properly

Describe the bug
Whenever tweet notifications, noting happens, unless you click on the left side of the notification box, doing this brings up a blank popup

Screenshots
image
image

Browser
Opera GX LV4

Option to view high resolution images

It would be nice if you could change the viewer image resolution, or have it set to the original resolution by default. Other extensions, which are unfortunately incompatible, do it by appending parameters to the url:
https://pbs.twimg.com/media/XXXXXXXXXXX?format=...&name=...
where format is either jpg or png
and name is one of thumb small medium 900x900 large 4096x4096 orig (note that orig doesn't work with png)

Add toggle for switching between old/new UI

Spawned by my other question about lists, it would be nice to have a toggle for switching back and forth between the new UI and old UI for e.g. when Twitter adds some new feature that isn't supported yet - saves the user a trip to their extensions settings.

Sometimes video doesn't load

Sometimes video just doesn't load (loads like 1-3 seconds) but switching quality or refreshing page fully makes it work. Currently fix is unknown.

Extension randomly retweets tweets I scroll past or click on

When I scroll On Old Twitter and click on tweets, they periodically get retweeted to my account. This happens without me hitting the retweet button.

I am not notified that my account retweeted anything, and I only notice when I see users liking something I scrolled past that I didn't realize was being retweeted to my account.

This can especially be an issue if I scroll past / click on a problematic tweet that proceeds to get automatically retweeted. My followers will then be notified or notice that I retweeted that problematic tweet.

This issue is happening for me on the Arc browser, which is Chromium.

Retweet is not translated

Describe the bug
"Retweet" is not translated and displayed in english

To Reproduce
start TwitterOld in a language other than english (japanese etc....) and press the retweet button from the home screen etc

Screenshots
image
image

Browser
Microsoft Edge 108.0.1462.54 , Google Chrome 108.0.5359.125

'Request requires matching CSRF cookie and header' errors after trying to switch accounts

This request requires a matching csrf cookie and header. at 1611887966606991360 (OldTwitter v1.6.5.7) when loading tweets, in the worst cases.

Usually, I will be able to load the timeline, but have the appearance that I'm logged in to another account, or have the wrong timeline and notifications, but interacting with tweets will end up showing a similar error.

On Chromium, Windows. Firefox seems to have very similar issues but remains hardly usable for me. Fresh install of Firefox Beta, used it for 10 minutes and it was fine, but after about 30 it became unusably slow. Maybe I should make another issue for that.

Trying to load "Favorites" (or likes) menu causes a "Something went wrong" error

Describe the bug
Clicking the favorites button (with the number underneath) caused an error to occur.

To Reproduce
Go onto any (i presume) tweet and click the favorites button.

Expected behavior
A list to show up with the users who have liked my tweet.

Screenshots
image
image
and the text was
ReferenceError: mainTweetLikers is not defined at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:1258:26) at async TweetViewer.updateLikes (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/tweetviewer.js:244:25) (OldTwitter v1.6.5.2)

Browser
Opera GX LVL 4 (core: 92.0.4561.64)
image
however at the time of the error the version was: LVL 4 (core: 91.0.4516.106)
image

Hope this helps!

Pinned tweet won't show

Describe the bug
Whenever I look at a user's page, it doesn't display the pinned tweet, and instead shows an error code

To Reproduce
Go on twitter, and open a user's page with a pinned tweet.

Expected behavior
No error code + shows the pinned tweet

Screenshots
image

Browser
Vivaldi 5.6.2867.58 (Stable channel) (64-bit)
(Chromium browser)

Code
TypeError: Cannot read properties of undefined (reading ’split’) at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:1119:435) at async renderTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/profile/script.js:930:57) at 1601275834454646786 (OldTwitter v1.6.6.0)

Site wont open if extension is removed

Describe the bug
Once u uninstall / remove the extension (Old twitter) from your browser to use the normal UI, the original site gets broken until you reinstall / re-enable the extension, softlocking myself into the old twitter theme.

To Reproduce
(using operaGX). install the extension trough chrome store, Use it normally and tweet something, uninstall the extension while leaving a window open using the extension, reload the site, now the original URL with the original site says :
"Something went wrong, but don’t fret — let’s give it another shot."
(a button saying "try again" will appear, which once clicked will reload the site with no changes)
(after doing this, the site will be broken no matter what browser i use)
(Account used in phone will remain normal with no issue)

Expected behavior
Twitter site should open normally when the extension on my browser is uninstalled.

Screenshots
image_2022-11-21_032218920
image_2022-11-21_032331435

Browser
OperaGX, most updated version till this date (november 21 2022).

something went wrong

Describe the bug
Tweets on the homepage don't load and a message is stuck saying "Loading tweets"

To Reproduce
Open https://twitter.com/home in Chrome
Expected beh
chrome_HWudp2ADkf
avior

Screenshots
If applicable, could you add screenshots to help explain your problem?

Browser
Chrome latest

Frequently need to refresh the page

This happens inconsistently but enough to be annoying. I e.g. click on a link to another tweet and the page hangs on the Twitter logo until I manually refresh.

I dont know what this bug exactly did?

TypeError: Cannot read properties of undefined (reading ’split’) at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:1119:435) at async renderTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/home/script.js:259:13) at 1613933730648784896 (OldTwitter v1.6.6.0)

What does this mean?

TypeError: Error in invocation of i18n.detectLanguage(string text, function callback): No matching signature. at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:972:125) at renderTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/home/script.js:348:23) at updateTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/home/script.js:197:9) at 1596552861495701504 (OldTwitter v1.6.5.3)

there should be a explore tab

there should be a explore tab, like the one we have currently, together with the home, notifications and dm tab in the navbar. similarly to pic 2
image
image

Trends bug

Describe the bug
"Trends" are not translated when navigating to pages such as notifications
To Reproduce
Open Twitter and go to Notifications

Screenshots
https://imgur.com/a/7sFm8mx

Browser
FireFox 109.0.1

TypeError: Cannot read properties of undefined (reading ’split’) at appendTweet

TypeError: Cannot read properties of undefined (reading ’split’) at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:1119:435) at renderTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/profile/script.js:930:63) at updateTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/profile/script.js:322:5) at 1594826948026707968 (OldTwitter v1.6.6.0)

Cannot read properties

TypeError: Cannot read properties of undefined (reading ’split’) at appendTweet (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/scripts/helpers.js:1119:435) at async renderTimeline (chrome-extension://jgejdcdoeeabklepnkdbglgccjpdgpmf/layouts/profile/script.js:930:57) at 1583866749715644416 (OldTwitter v1.6.6.0)

Can't like a reply to a tweet when it's an image

Whenever I try to like a reply to a tweet, and the reply has an image attatched, I can't click the like button. The only way for me to like the reply is to expand it, and then like it afterward.
This is annoying.

I should be able to like any replies to a tweet without having to expand them.

I use chrome, and usually have twitter zoomed in at 125%. I'm hoping to see this fixed soon bc it's really getting on my nerves.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.