Skip to content

Commit

Permalink
fix #612
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Nov 23, 2023
1 parent c7f2484 commit 0bc98e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion layouts/home/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function createShamelessPlug(firstTime = true) {


setTimeout(() => {
chrome.storage.local.get(['installed', 'lastVersion', 'nextPlug', 'followAt'], async data => {
chrome.storage.local.get(['installed', 'lastVersion', 'nextPlug'], async data => {
if (!data.installed) {
createShamelessPlug(true);
chrome.storage.local.set({installed: true, lastVersion: chrome.runtime.getManifest().version, nextPlug: Date.now() + 1000 * 60 * 60 * 24 * 20});
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
{
"matches": ["https://twitter.com/*"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck", "https://twitter.com/i/communitynotes"],
"js": ["scripts/blockBeforeInject.js", "scripts/config.js", "scripts/helpers.js", "scripts/apis.js", "scripts/injection.js"],
"css": ["libraries/viewer.min.css"],
"all_frames": true,
Expand Down
4 changes: 2 additions & 2 deletions pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ copyDir('./', '../OldTwitterFirefox').then(async () => {
},
{
"matches": ["https://twitter.com/*"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck", "https://twitter.com/i/communitynotes"],
"js": ["scripts/blockBeforeInject.js", "scripts/config.js", "scripts/helpers.js", "scripts/apis.js", "scripts/injection.js", "libraries/twemoji.min.js", "libraries/custom-elements.min.js", "libraries/emojipicker.js", "libraries/twitter-text.js"],
"all_frames": true,
"run_at": "document_start"
},
{
"matches": ["https://twitter.com/*"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck"],
"exclude_matches": ["https://twitter.com/*?*newtwitter=true*", "https://twitter.com/settings/download_your_data", "https://twitter.com/i/flow/login*", "https://twitter.com/i/tweetdeck", "https://twitter.com/i/communitynotes"],
"js": ["layouts/header/script.js", "scripts/tweetviewer.js", "libraries/gif.js", "libraries/viewer.min.js", "libraries/tinytoast.js"],
"css": ["libraries/viewer.min.css"],
"all_frames": true,
Expand Down

0 comments on commit 0bc98e3

Please sign in to comment.