From 2966bbeb075db97e584a4dbdeb0709223bee5f3a Mon Sep 17 00:00:00 2001
From: dimden <26517362+dimdenGD@users.noreply.github.com>
Date: Thu, 8 Aug 2024 19:07:42 +0300
Subject: [PATCH] fix
---
layouts/home/script.js | 8 +-------
manifest.json | 2 +-
scripts/apis.js | 2 +-
3 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/layouts/home/script.js b/layouts/home/script.js
index 80c028b5..f897a1db 100644
--- a/layouts/home/script.js
+++ b/layouts/home/script.js
@@ -81,13 +81,7 @@ setTimeout(() => {
(OldTwitter) ${LOC.new_version.message} - ${chrome.runtime.getManifest().version}
- - Added option to customize name of downloaded media
- - Better "User doesn't exist" and "User was suspended" pages
- - Fixed external links not opening in new tab (this was especially annoying on PWA because it reset current browsing session on visiting external links)
- - Fixed custom color links not appearing in home timeline often
- - Fixed tweets with pending community notes not loading
- - Fixed layout shift on modal opens
- - Fixed image viewer being hard to close on some phones
+ - Fixed retweeting
`, 'changelog-modal', () => {}, () => Date.now() - opened > 1250);
diff --git a/manifest.json b/manifest.json
index 10dd8ef5..dc4bd2fb 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2024)",
"description": "__MSG_ext_description__",
- "version": "1.8.7.3",
+ "version": "1.8.8",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
diff --git a/scripts/apis.js b/scripts/apis.js
index 0d3de74f..692a9ec8 100644
--- a/scripts/apis.js
+++ b/scripts/apis.js
@@ -2731,7 +2731,7 @@ const API = {
fetch(`/i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet`, {
method: 'POST',
headers: {
- "authorization": OLDTWITTER_CONFIG.public_token,
+ "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAAFQODgEAAAAAVHTp76lzh3rFzcHbmHVvQxYYpTw%3DckAlMINMjmCwxUcaXbAN4XqJVdgMJaHqNOFgPMK0zN1qLqLQCF",
"x-csrf-token": OLDTWITTER_CONFIG.csrf,
"x-twitter-auth-type": "OAuth2Session",
"content-type": "application/json",