Skip to content

Commit 220a418

Browse files
committed
fix oldtwitter
1 parent 74e3726 commit 220a418

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Old Twitter Layout (2026)",
33
"description": "__MSG_ext_description__",
4-
"version": "1.9.6.4",
4+
"version": "1.9.6.5",
55
"manifest_version": 3,
66
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
77
"background": {

sandbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
let verif = document.querySelector('meta[name="twitter-site-verification"]');
4040
verif.content = data.verificationCode;
41-
const idMatch = challengeData.match(/\.push\(\[\[\d+\],\{(\d+):/);
41+
const idMatch = challengeData.match(/\.push\(\[\[\d+\],\{(\d+)[:(]/);
4242
if (!idMatch) {
4343
console.error('Module ID not found');
4444
event.source.postMessage({ action: 'initError', error: 'Module ID not found' }, event.origin);

0 commit comments

Comments
 (0)