Print Extension
Print on PosPrint
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Print Extension",
"version": "1.2",
"description": "Print on PosPrint",
"default_locale": "en",
"minimum_chrome_version": "90",
"permissions": [
"tabs",
"usb",
"activeTab",
"printerProvider",
"storage"
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "html/page.html",
"default_title": "插件",
"default_icon": {
"16": "images/EG128X128.png",
"32": "images/EG128X128.png",
"48": "images/EG128X128.png",
"128": "images/EG128X128.png"
}
},
"icons": {
"16": "images/EG128X128.png",
"32": "images/EG128X128.png",
"48": "images/EG128X128.png",
"128": "images/EG128X128.png"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"js/content.js",
"js/pdf.js",
"js/pdf.worker.js"
],
"run_at": "document_idle"
}
],
"externally_connectable": {
"matches": [
"*://*.example.com/*"
]
},
"manifest_version": 3
}