ChatGPT-Pro
A Chrome extension to display the token count for OpenAI chat messages.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "ChatGPT-Pro",
"version": "1.0.2",
"description": "A Chrome extension to display the token count for OpenAI chat messages.",
"permissions": [],
"action": {
"default_popup": "popup.html",
"default_icon": {
"48": "icon.png"
}
},
"icons": {
"48": "icon.png"
},
"content_scripts": [
{
"matches": [
"https://chat.openai.com/*"
],
"js": [
"content.js"
]
}
],
"web_accessible_resources": [
{
"resources": [
"vocab.bpe"
],
"matches": [
"<all_urls>"
]
},
{
"resources": [
"encoder.json"
],
"matches": [
"<all_urls>"
]
}
]
}