Skip to content

Commit

Permalink
bump version & update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 24, 2023
1 parent 41fb125 commit 79f9c61
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
17 changes: 17 additions & 0 deletions layouts/home/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,23 @@ setTimeout(() => {
<span id="changelog" style="font-size:14px;color:var(--default-text-color)">
<ul>
<li>Added rate limit bypass again!</li>
<li>Made algorithmic timeline receive new tweets without having to reload the page.</li>
<li>Fixed scroll position not being restored on tweet page.</li>
<li>Added option to hide unfollowers page.</li>
<li>Fixed opening DMs on profile page reloading it.</li>
<li>Fixed closing DMs scrolling page to top.</li>
<li>Made emoji-only messages in DMs prettier.</li>
<li>Made like and retweet buttons don't get colored on touch hold on mobile.</li>
<li>Made OldTwitter use cached users instead of requesting them every time for user previews.</li>
<li>Fixed random thread line sometimes appearing in timeline.</li>
</ul>
Updates you may have already received:
<ul>
<li>Made older messages load automatically in DMs.</li>
<li>Added support for multiple media uploads in DMs.</li>
<li>Made back button work for DMs.</li>
<li>Added "Share tweet in DMs" button.</li>
<li>Improved experimental iframe navigation a lot.</li>
</ul>
<p style="margin-bottom:5px">
Want to support me? You can <a href="https://dimden.dev/donate" target="_blank">donate</a>, <a href="https://twitter.com/dimdenEFF" target="_blank">follow me</a> or <a href="https://chrome.google.com/webstore/detail/old-twitter-layout-2022/jgejdcdoeeabklepnkdbglgccjpdgpmf" target="_blank">leave a review</a>.<br>
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2023)",
"description": "__MSG_ext_description__",
"version": "1.8.0.5",
"version": "1.8.1",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
Expand Down
12 changes: 10 additions & 2 deletions scripts/apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,16 @@ setInterval(() => {
chrome.storage.local.set({trends: {}}, () => {});
chrome.storage.local.set({trendsv2: {}}, () => {});

tweetStorage = tweetStorage.filter(t => t.cacheDate && Date.now() - t.cacheDate < 60000*15);
userStorage = userStorage.filter(t => t.cacheDate && Date.now() - t.cacheDate < 60000*15);
for(let i in tweetStorage) {
if(tweetStorage[i].cacheDate && Date.now() - tweetStorage[i].cacheDate > 60000*15) {
delete tweetStorage[i];
}
}
for(let i in userStorage) {
if(userStorage[i].cacheDate && Date.now() - userStorage[i].cacheDate > 60000*15) {
delete userStorage[i];
}
}
}, 60000*10);

setInterval(() => {
Expand Down

0 comments on commit 79f9c61

Please sign in to comment.