Giter Site home page Giter Site logo

dimdengd / oldtwitter Goto Github PK

View Code? Open in Web Editor NEW
1.7K 23.0 156.0 9.71 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.39% JavaScript 81.74% CSS 12.87%
chrome-extension firefox-addon firefox-extension twitter twitter-client chrome chromium-extension

oldtwitter's Introduction

OldTwitter (2024)

Browser extension to return old Twitter layout from 2015 (and option to use 2018 design).
This extension doesn't add any CSS on top of original Twitter. It's fully original client that replaces Twitter, making it much faster than alternatives.

Installation

Chrome, Edge, Opera, Brave & Chromium browsers: Chrome Web Store
Firefox: Addons For Firefox

Donate

If you like this extension please consider donating:

Screenshots

Profile
Profile 2
Profile dark mode
Tweet
Notifications
Search
Modern home

Features

  • Almost all of Twitter functionality is implemented
  • Both reverse chronological and algorithmical timelines support. And exclusive: Reverse chronological timeline with friends likes and follows (basically mix of both chrono and algo timelines)
  • Custom profile link colors supported
  • You can change custom profile link color and it'll appear for other extension users (priority: oldtwitter color db -> twitter color db -> default color)
  • Removes all analytics and tracking from Twitter
  • Track your unfollowers for free
  • Search, sort and filter your followers
  • Removes all ads
  • Easy download of videos and GIFs
  • Translate tweets without having to open them, also ability to set specific users/languages to autotranslate
  • Shows why tweets were added to algorthimical timeline
  • Dark mode support
  • Ability to enable/disable Twemoji, disable stars (favorites) back to likes (hearts), change font, default link color and any other color in extension
  • Lot of hotkeys
  • Mobile support with Kiwi Browser or Firefox
  • Custom CSS support

Manual installation

For beta version:

  • You need Github account, please register if you haven't first!
  • Go to Actions page
  • Click on latest "Pack Extension" workflow run (first from top)
  • Download OldTwitterChrome if you're on Chromium based browsers and OldTwitterFirefox if you're on Firefox

For stable version:

  • Go to Releases page
  • Download OldTwitterChrome.zip if you're on Chromium based browsers and OldTwitterFirefox.zip if you're on Firefox

Chromium

  • Unpack file anywhere
  • Go to chrome://extensions
  • Turn on Developer mode
  • Press "Load unpacked" and select folder with extension
    Install Chrome

Firefox

  • Go to about:debugging#/runtime/this-firefox
  • Press "Load Temporary Add-on" and select zip file you downloaded

Installing this way on Firefox will remove it after closing browser. You need to use Firefox Developer Edition instead for permament installation (see below).

Firefox Developer Edition

  • Go to about:config
  • Set xpinstall.signatures.required to false
  • Go to about:addons
  • Press "Install Add-on From File" and select zip file you downloaded

This reportedly works with Firefox Extended Support Release and Nightly as well.

FAQ

Can you use this extension on Android?

Yes, you can use Kiwi Browser to install it from Chrome Web Store or Firefox Beta/Nightly to install it from Addons For Firefox (follow these steps for Firefox). Once installed you can press on "Add to Home screen" button in Kiwi Browser to have it as standalone app.

Is this extension safe?

The source code is available at GitHub so you can check everything yourself. It never sends any of your personal info anywhere.

[insert thing] doesn't look like it was in 2015 Twitter!

Extension won't be pixel perfect copy of old Twitter. I just took general look and feel of it.

I installed extension and my timeline feels kinda unusual

You had algorithmical timeline enabled. By default OldTwitter turns on reverse chronological timeline, you can switch it back to algorithmical timeline in settings or using the switch on the right side.

How do I visit original Twitter client after installing extension?

You need to add ?newtwitter=true to end of your current URL. There's also a "Open this page in new Twitter" button on all pages on bottom right.

Where are the extension settings?

Click on your profile picture on top-right and then Settings button.

I don't like 2015 design, can I have something more modern

There's a setting to use design from 2018.

Hotkeys

You can disable all hotkeys in settings.

General hotkeys.
F - focus search bar.
ALT+F - unfocus search bar (only when search bar is focused).
N - open new tweet modal.
ALT+N - close new tweet modal.
ESC - close any modal.
M - open/close user menu (use TAB to navigate).
CTRL+ENTER - send tweet (when typing reply/quote/new tweet).

Navigation hotkeys.
CTRL+ALT+O - switch between old and new Twitter.
G+H - Home
G+N - Notifications
G+M - Mentions
G+P - Profile
G+L - Likes
G+I - Lists
G+M - Messages
G+S - Settings
G+B - Bookmarks

Active tweet hotkeys. On bottom-right of tweet element there's blue dot showing tweet is active.
S - move to next tweet.
W - move to previous tweet.
L - (un)favorite/like tweet.
B - (un)bookmark tweet.
T - (un)retweet tweet.
R - open reply box.
Q - open quote box.
C - copy tweet image.
D - download first tweet media.
SPACE - open full image / pause or resume video.
ENTER - open tweet in new tab.

These hotkeys work only when reply/quote box is opened.
ALT+R - close reply box.
ALT+Q - close quote box.

These will work when reply/quote/new tweet modal is focused.
ALT+M - upload media.
ALT+F - remove first uploaded media.

Translations

Help to translate this extension to your language.

English - dimden
Russian - dimden
Ukrainian - dimden
French - Aurore C., zdimension, Pikatchoum, adriend
Portuguese (Brazil) - kigidere, guko, prophamoon
Spanish - rogerpb98, gaelcoral, hue, Beelzenef, elderreka
Greek - VasilisTheChu
Romanian - Skyrina, AlexSem
Tagalog - Eurasian, @conc1erge, @cheesee_its
Latvian - yourfriend
Hebrew - "ugh", qqqq, kriterin
Nepali - DimeDead
Dutch - Puka1611
Japanese - Chazuru, Nyankodasu, kamokakesu
Korean - Nyankodasu, han_eirin, Sch
Turkish - KayrabCebll, YordemEren
Italian - krek, Francesco
Arabic - Yours Truly,
Thai - 0.21%BloodAlcohol
Polish - lele, nomi
Vietnamese - btmxh
Traditional Chinese - Oliver Tzeng(曾嘉禾), cirx1e
Simplified Chinese - am1006, CarimoWuling
Czech - Menal
German - basti564
Catalan - elmees21
Swedish - actuallyaridan
Bulgarian - Scarlett7447)
Norwegian - twistquest
Indonesian - lorizade, Feerse_, DaGamerFiles, KuchingNeko

oldtwitter's People

Contributors

actuallyaridan avatar alexsem5399 avatar aloneunix avatar andrey-matos avatar aur-c avatar cherrypockies avatar cirx1e avatar conc1erge avatar dagamerfiles avatar derreka avatar dimdengd avatar francescorosi avatar gaelcoral avatar gukodev avatar jacobgonzalez0 avatar kuchingneko28 avatar menal226 avatar mmahhi avatar olivertzeng avatar paintthetownredd avatar prophamoon avatar rokotallion avatar shy1132 avatar thepwrtank18 avatar twistquest avatar vipelyrs avatar vzade-dev avatar wintiger0222 avatar yanstory avatar zdimension avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oldtwitter's Issues

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.

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)

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

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.

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)

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)

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)

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

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.

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

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

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

'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.

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)

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.

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

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

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

"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

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.

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!

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).

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)

Old Twitter legacy

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

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

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)

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.