Skip to content

Commit

Permalink
dupes are remembered on twitter refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
steveseguin committed Jan 16, 2024
1 parent b9e6fcd commit 6c04162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Social Stream Ninja",
"description": "Powerful tooling to engage live chat on Youtube, Twitch, Zoom, and more",
"manifest_version": 2,
"version": "1.68.3",
"version": "1.68.4",
"homepage_url": "http://socialstream.ninja/",
"icons": {
"128": "icons/icon-128.png"
Expand Down
6 changes: 3 additions & 3 deletions static/twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@
}
});

var grabbedTweets = [];


var grabbedTweets = localStorage.getItem('grabbedTweets') || [];

var enabledSSN = localStorage.getItem('enabledSSN') === 'true';
console.log("enabledSSN :"+enabledSSN);
Expand Down Expand Up @@ -288,6 +286,8 @@
}
}
grabbedTweets.push(msglink);
grabbedTweets = grabbedTweets.slice(-250);
localStorage.setItem('grabbedTweets', grabbedTweets.toString());
} catch(e){
if (autoGrabTweets){
return;
Expand Down

0 comments on commit 6c04162

Please sign in to comment.