diff --git a/manifest.json b/manifest.json index fa3b94d2..f191f704 100644 --- a/manifest.json +++ b/manifest.json @@ -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" diff --git a/static/twitter.js b/static/twitter.js index fab2b460..a6b21a56 100644 --- a/static/twitter.js +++ b/static/twitter.js @@ -46,9 +46,7 @@ } }); - var grabbedTweets = []; - - + var grabbedTweets = localStorage.getItem('grabbedTweets') || []; var enabledSSN = localStorage.getItem('enabledSSN') === 'true'; console.log("enabledSSN :"+enabledSSN); @@ -288,6 +286,8 @@ } } grabbedTweets.push(msglink); + grabbedTweets = grabbedTweets.slice(-250); + localStorage.setItem('grabbedTweets', grabbedTweets.toString()); } catch(e){ if (autoGrabTweets){ return;