1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-05-29 09:28:06 +02:00
CanvasBlocker/package.json
2014-08-04 17:02:42 +02:00

48 lines
1.4 KiB
JSON

{
"name": "canvasblocker",
"title": "CanvasBlocker",
"id": "CanvasBlocker@kkapsner.de",
"description": "Blocks the JS-API for modifying <canvas>",
"preferences": [
{
"name": "whiteList",
"title": "White list",
"description": "Domains where the <canvas>-API should not be blocked. To add multiple domains seperate them by comma.",
"type": "string",
"value": "kkapsner.de"
},
{
"name": "blockAll",
"title": "Block everything",
"description": "If you want to block everything (ignore the white list).",
"type": "bool",
"value": false
},
{
"name": "blackList",
"title": "Black list",
"description": "Domains where the <canvas>-API should always be blocked. To add multiple domains seperate them by comma.",
"type": "string",
"value": ""
},
{
"name": "askPermission",
"title": "Ask for permission",
"description": "If you want to be asked if you want to block a canvas element if the domain is neither in the white or black list.",
"type": "bool",
"value": true
},
{
"name": "allowPDFCanvas",
"title": "Allow canvas in PDFs.",
"description": "The native pdf.js uses <canvas> to display the PDF content. If this is unchecked there will lots of annoying ask dialogs.",
"type": "bool",
"value": true
}
],
"author": "Korbinian Kapsner",
"license": "MPL 2.0",
"version": "0.1",
"permissions": {"private-browsing": true}
}