From 28fd1a662f819cb2449e5cbc9cb988290e28d9ae Mon Sep 17 00:00:00 2001 From: Jordan Date: Tue, 9 May 2023 19:10:33 -0700 Subject: [PATCH 1/5] Removes all './' because it was causing the Add-On icon to be broken in Firefox / Debugging Add-ons; Adds a section with "id" for Firefox because the Add-on was not loading being 'corrupted' without that ID. (ID=WIP?) --- README.md | 4 ++-- manifest.json | 22 ++++++++++++++-------- manifest.v2.json | 18 ++++++++++++------ 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 5135187..c190884 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ eight-dollars can help you tell the difference between actual verified accounts Maintained by [Will Seagar](https://twitter.com/willseagar), [Walter Lim](https://twitter.com/iWaltzAround), and [Ilia Sidorenko](https://twitter.com/noway421). -Found this useful? [Buy us a $8 coffee here](https://www.buymeacoffee.com/eightdollars). +Found this useful? [Buy us an $8 coffee here](https://www.buymeacoffee.com/eightdollars). ![Some tweets](./assets/example.png) @@ -25,7 +25,7 @@ Found this useful? [Buy us a $8 coffee here](https://www.buymeacoffee.com/eightd ### How to install on Opera -1. [Vist the Chrome Web Store page](https://chrome.google.com/webstore/detail/eight-dollars/fjbponfbognnefnmbffcfllkibbbobki) +1. [Visit the Chrome Web Store page](https://chrome.google.com/webstore/detail/eight-dollars/fjbponfbognnefnmbffcfllkibbbobki) 2. Click "Add to Opera" 3. Click "Install" diff --git a/manifest.json b/manifest.json index d76436f..291818e 100644 --- a/manifest.json +++ b/manifest.json @@ -4,11 +4,11 @@ "version": "2.0", "description": "Eight Dollars can help you tell the difference between actual verified accounts and twitter blue users.", "icons": { - "16": "./assets/16.png", - "32": "./assets/32.png", - "48": "./assets/48.png", - "256": "./assets/256.png", - "512": "./assets/512.png" + "16": "assets/16.png", + "32": "assets/32.png", + "48": "assets/48.png", + "256": "assets/256.png", + "512": "assets/512.png" }, "content_scripts": [ { @@ -24,11 +24,17 @@ ], "action": { "default_icon": { - "16": "./assets/16.png", - "32": "./assets/32.png" + "16": "assets/16.png", + "32": "assets/32.png" }, "default_title": "Eight Dollars - Options", "default_popup": "options/options.html" }, - "permissions": ["storage"] + "permissions": ["storage"], + "applications": { + "gecko": { + "id": "eight-dollars@willseagar.twitter", + "strict_min_version": "56.0a1" + } + } } diff --git a/manifest.v2.json b/manifest.v2.json index 1b85c48..590a693 100644 --- a/manifest.v2.json +++ b/manifest.v2.json @@ -4,11 +4,11 @@ "version": "2.0", "description": "Eight Dollars can help you tell the difference between actual verified accounts and twitter blue users.", "icons": { - "16": "./assets/16.png", - "32": "./assets/32.png", - "48": "./assets/48.png", - "256": "./assets/256.png", - "512": "./assets/512.png" + "16": "assets/16.png", + "32": "assets/32.png", + "48": "assets/48.png", + "256": "assets/256.png", + "512": "assets/512.png" }, "content_scripts": [ { @@ -19,8 +19,14 @@ "web_accessible_resources": ["script.js", "search.js", "data/verified.txt"], "permissions": ["storage"], "browser_action": { - "default_icon": "./assets/32.png", + "default_icon": "assets/32.png", "default_title": "Eight-Dollars", "default_popup": "options/options.html" + }, + "applications": { + "gecko": { + "id": "eight-dollars@willseagar.twitter", + "strict_min_version": "56.0a1" + } } } From fbdfe0a5fa81de54c9665ffc3cee905abfda71fc Mon Sep 17 00:00:00 2001 From: Jordan Date: Tue, 9 May 2023 19:16:12 -0700 Subject: [PATCH 2/5] Adding .gitignore and fixing up an email address --- .gitignore | 7 ++++++- manifest.json | 2 +- manifest.v2.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6de4222..91e44f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ .build/ -.release/ \ No newline at end of file +.release/ +/.idea/.gitignore +/.idea/eight-dollars.iml +/.idea/misc.xml +/.idea/modules.xml +/.idea/vcs.xml diff --git a/manifest.json b/manifest.json index 291818e..f0e59b9 100644 --- a/manifest.json +++ b/manifest.json @@ -33,7 +33,7 @@ "permissions": ["storage"], "applications": { "gecko": { - "id": "eight-dollars@willseagar.twitter", + "id": "willseagar@twitter", "strict_min_version": "56.0a1" } } diff --git a/manifest.v2.json b/manifest.v2.json index 590a693..8f926c4 100644 --- a/manifest.v2.json +++ b/manifest.v2.json @@ -25,7 +25,7 @@ }, "applications": { "gecko": { - "id": "eight-dollars@willseagar.twitter", + "id": "willseagar@twitter", "strict_min_version": "56.0a1" } } From a95025dabca62ab957c83aafaf88a3abe184b11a Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 10 May 2023 15:33:52 -0700 Subject: [PATCH 3/5] WIP IDs --- manifest.json | 12 ++++++------ manifest.v2.json | 12 ++++++++---- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index f0e59b9..57a34e9 100644 --- a/manifest.json +++ b/manifest.json @@ -31,10 +31,10 @@ "default_popup": "options/options.html" }, "permissions": ["storage"], - "applications": { - "gecko": { - "id": "willseagar@twitter", - "strict_min_version": "56.0a1" - } - } + "browser_specific_settings": { + "gecko": { + "id": "twitter@willseagar", + "strict_min_version": "42.0" + } + } } diff --git a/manifest.v2.json b/manifest.v2.json index 8f926c4..1cc446c 100644 --- a/manifest.v2.json +++ b/manifest.v2.json @@ -24,9 +24,13 @@ "default_popup": "options/options.html" }, "applications": { - "gecko": { - "id": "willseagar@twitter", - "strict_min_version": "56.0a1" - } + "gecko": { + "id": "twitter@willseagar", + "strict_min_version": "42.0" + }, + "gecko_android": { + "id": "twitter@willseagar", + "strict_min_version": "42.0" + } } } From e0db6dad4ee0ee3fabbcf87dfdb2a704531d1d2a Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 10 May 2023 17:27:44 -0700 Subject: [PATCH 4/5] removing search.js from manifests --- manifest.json | 4 ++-- manifest.v2.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 57a34e9..74c4ff6 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ ], "web_accessible_resources": [ { - "resources": ["script.js", "search.js", "data/verified.txt"], + "resources": ["script.js", "data/verified.txt"], "matches": ["https://twitter.com/*", "https://mobile.twitter.com/*"] } ], @@ -36,5 +36,5 @@ "id": "twitter@willseagar", "strict_min_version": "42.0" } - } + } } diff --git a/manifest.v2.json b/manifest.v2.json index 1cc446c..8e0186c 100644 --- a/manifest.v2.json +++ b/manifest.v2.json @@ -16,7 +16,7 @@ "js": ["content.js"] } ], - "web_accessible_resources": ["script.js", "search.js", "data/verified.txt"], + "web_accessible_resources": ["script.js", "data/verified.txt"], "permissions": ["storage"], "browser_action": { "default_icon": "assets/32.png", @@ -25,11 +25,11 @@ }, "applications": { "gecko": { - "id": "twitter@willseagar", + "id": "w.seagar.eight-dollars@gmail.com", "strict_min_version": "42.0" }, "gecko_android": { - "id": "twitter@willseagar", + "id": "w.seagar.eight-dollars@gmail.com", "strict_min_version": "42.0" } } From a0427080804cfd52c6b79878198af3d257386930 Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 10 May 2023 17:35:33 -0700 Subject: [PATCH 5/5] Release v2.1 --- manifest.json | 89 +++++++++++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 38 deletions(-) diff --git a/manifest.json b/manifest.json index 74c4ff6..249b96e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,40 +1,53 @@ { - "manifest_version": 3, - "name": "Eight Dollars", - "version": "2.0", - "description": "Eight Dollars can help you tell the difference between actual verified accounts and twitter blue users.", - "icons": { - "16": "assets/16.png", - "32": "assets/32.png", - "48": "assets/48.png", - "256": "assets/256.png", - "512": "assets/512.png" - }, - "content_scripts": [ - { - "matches": ["https://twitter.com/*", "https://mobile.twitter.com/*"], - "js": ["content.js"] - } - ], - "web_accessible_resources": [ - { - "resources": ["script.js", "data/verified.txt"], - "matches": ["https://twitter.com/*", "https://mobile.twitter.com/*"] - } - ], - "action": { - "default_icon": { - "16": "assets/16.png", - "32": "assets/32.png" - }, - "default_title": "Eight Dollars - Options", - "default_popup": "options/options.html" - }, - "permissions": ["storage"], - "browser_specific_settings": { - "gecko": { - "id": "twitter@willseagar", - "strict_min_version": "42.0" - } - } + "manifest_version": 3, + "name": "Eight Dollars", + "version": "2.1", + "description": "Eight Dollars can help you tell the difference between actual verified accounts and twitter blue users.", + "icons": { + "16": "assets/16.png", + "32": "assets/32.png", + "48": "assets/48.png", + "256": "assets/256.png", + "512": "assets/512.png" + }, + "content_scripts": [ + { + "matches": [ + "https://twitter.com/*", + "https://mobile.twitter.com/*" + ], + "js": [ + "content.js" + ] + } + ], + "web_accessible_resources": [ + { + "resources": [ + "script.js", + "data/verified.txt" + ], + "matches": [ + "https://twitter.com/*", + "https://mobile.twitter.com/*" + ] + } + ], + "action": { + "default_icon": { + "16": "assets/16.png", + "32": "assets/32.png" + }, + "default_title": "Eight Dollars - Options", + "default_popup": "options/options.html" + }, + "permissions": [ + "storage" + ], + "browser_specific_settings": { + "gecko": { + "id": "twitter@willseagar", + "strict_min_version": "42.0" + } + } }