Skip to content

Commit

Permalink
redirect to xcom
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed May 18, 2024
1 parent 31d32bb commit d90395b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Note: Do not delete the extension files (unzipped archive for Chromium, zip file
4. Enable developer mode (there should be switch somewhere on that page)
5. Press "Load unpacked" button
6. Select folder with unzipped archive
7. Go to https://twitter.com/i/tweetdeck and enjoy old TweetDeck
7. Go to https://x.com/i/tweetdeck and enjoy old TweetDeck
8. [Donate to encourage continued support](https://www.patreon.com/dimdendev)

### Firefox
Expand All @@ -36,7 +36,7 @@ Note: Do not delete the extension files (unzipped archive for Chromium, zip file
4. Go to addons page(`about:addons`)
5. Press "Install Add-on From File..." button
6. Select zip file you downloaded
7. Go to https://twitter.com/i/tweetdeck and enjoy old TweetDeck
7. Go to https://x.com/i/tweetdeck and enjoy old TweetDeck
8. [Donate to encourage continued support](https://www.patreon.com/dimdendev)

#### Stable
Expand Down
4 changes: 2 additions & 2 deletions docs/README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
4. デベロッパーモードを有効にする (拡張機能ページの右上に切り替えスイッチがあります)
5. "パッケージ化されていない拡張機能を読み込む"をクリックする
6. Zipファイルを展開したフォルダを選択する
7. https://twitter.com/i/tweetdeck にアクセスして昔のTweetDeckを楽しむ
7. https://x.com/i/tweetdeck にアクセスして昔のTweetDeckを楽しむ
8. [開発が継続できるように支援する](https://www.patreon.com/dimdendev)

### Firefox
Expand All @@ -34,7 +34,7 @@
4. アドオンページを開く (`about:addons`)
5. アドオンページ右上の歯車アイコン→"ファイルからアドオンをインストール..."をクリックする
6. ダウンロードしたZipファイルを選択する
7. https://twitter.com/i/tweetdeck にアクセスして昔のTweetDeckを楽しむ
7. https://x.com/i/tweetdeck にアクセスして昔のTweetDeckを楽しむ
8. [開発が継続できるように支援する](https://www.patreon.com/dimdendev)

#### Stable
Expand Down
4 changes: 4 additions & 0 deletions files/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ setTimeout(function () {
document.getElementsByTagName("head")[0].appendChild(icon);
}, 3000);

if(location.hostname === 'twitter.com' && location.pathname === '/i/tweetdeck') {
location.replace(`https://x.com/i/tweetdeck`)
}

function expandTweet(e, tweet_id) {
e.preventDefault();
e.target.innerText = "Loading...";
Expand Down

3 comments on commit d90395b

@katabame
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the bundle.js can be updated automatically by over the internet?
if isn't, we should release a new tag I think

@dimdenGD
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its automatic

@katabame
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alrightly then! that was only what I concerned about.

Please sign in to comment.