Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 109 #110

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
.build/
.release/
.release/
/.idea/.gitignore
/.idea/eight-dollars.iml
/.idea/misc.xml
/.idea/modules.xml
/.idea/vcs.xml
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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"

Expand Down
83 changes: 51 additions & 32 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,34 +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", "search.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"]
"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"
}
}
}
24 changes: 17 additions & 7 deletions manifest.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,33 @@
"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": [
{
"matches": ["https://twitter.com/*", "https://mobile.twitter.com/*"],
"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",
"default_icon": "assets/32.png",
"default_title": "Eight-Dollars",
"default_popup": "options/options.html"
},
"applications": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "42.0"
},
"gecko_android": {
"id": "[email protected]",
"strict_min_version": "42.0"
}
}
}