Onoff Business | Click2Call & SMS
Initiate a call or send an SMS in a couple of clicks without leaving the website you are on!
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"version": "0.9.0",
"manifest_version": 3,
"default_locale": "en",
"icons": {
"16": "assets/icon.png",
"48": "assets/icon.png",
"128": "assets/icon.png"
},
"action": {
"default_popup": "popup.html",
"default_title": "__MSG_appTitle__",
"default_icon": "assets/icon.png"
},
"permissions": [
"storage",
"tabs",
"declarativeNetRequest",
"unlimitedStorage"
],
"host_permissions": [
"https://staging-apigateway.onoffapp.net/mobile/*",
"https://production-server.onoffapp.net/mobile/*"
],
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"exclude_globs": [
"*://*.onoff.app*",
"*://app*.onoffbusiness.com*",
"*://phone*.onoff*"
],
"js": [
"content.js"
],
"css": [
"content.css"
],
"run_at": "document_end"
}
],
"web_accessible_resources": [
{
"resources": [
"widget.html",
"assets/actions-icon.png",
"assets/audio/calls_outgoing_ringback_128kbps.mp3",
"*.map"
],
"matches": [
"<all_urls>"
]
}
],
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "rules.json"
}
]
}
}