mirror of
https://github.com/Polaris-Entertainment/bytefy.git
synced 2026-04-11 10:29:37 +00:00
Add chrome extension
This commit is contained in:
51
bytefy.browser.extensions/Qr-Barcode.chrome/manifest.json
Normal file
51
bytefy.browser.extensions/Qr-Barcode.chrome/manifest.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "QR Code Generator",
|
||||
"version": "1.0",
|
||||
"description": "Generate a QR code from the current URL.",
|
||||
"permissions": [
|
||||
"activeTab",
|
||||
"contextMenus",
|
||||
"scripting"
|
||||
],
|
||||
"icons": {
|
||||
"16": "icons/icon16.png",
|
||||
"32": "icons/icon32.png",
|
||||
"48": "icons/icon48.png",
|
||||
"128": "icons/icon128.png"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"js": ["detect_ean_from_selection.js"]
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "service_worker.js"
|
||||
},
|
||||
"action": {
|
||||
"default_popup": "popup-menu/popup.html"
|
||||
},
|
||||
"content_security_policy": {
|
||||
"script-src": ["'self'"]
|
||||
},
|
||||
"web_accessible_resources": [{
|
||||
"resources": [
|
||||
"pages/qr-page/qr.html",
|
||||
"pages/qr-page/qr.js",
|
||||
"pages/barcode-page/barcode.html",
|
||||
"pages/barcode-page/barcode.js",
|
||||
"libraries/qrcode.min.js",
|
||||
"JsBarcode.all.min.js",
|
||||
"icons/icon16.png",
|
||||
"icons/icon32.png",
|
||||
"icons/icon48.png",
|
||||
"icons/icon128.png",
|
||||
"pages/page_styling.css",
|
||||
"service_worker.js",
|
||||
"detect_ean_from_selection.js",
|
||||
"manifest.json"
|
||||
],
|
||||
"matches": ["<all_urls>"]
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user