mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-10-31 18:38:45 +01:00
parent
82bb25d0f2
commit
749b088fe9
@ -4,6 +4,7 @@
|
||||
*.zip
|
||||
.*
|
||||
*.txt
|
||||
!releaseNotes.txt
|
||||
*.md
|
||||
test/
|
||||
addon description/
|
||||
|
@ -87,7 +87,7 @@
|
||||
mode = "allow";
|
||||
break;
|
||||
default:
|
||||
console.log("Unknown blocking mode (" + blockMode + "). Default to block everything.");
|
||||
// console.log("Unknown blocking mode (" + blockMode + "). Default to block everything.");
|
||||
}
|
||||
return mode;
|
||||
}
|
||||
|
@ -81,4 +81,9 @@
|
||||
return _(ev.data);
|
||||
});
|
||||
|
||||
var data = require("sdk/self").data;
|
||||
preferences.on("showReleaseNotes", function(){
|
||||
var url = data.url("releaseNotes.txt").replace("/data/", "/");
|
||||
require("sdk/tabs").open(url);
|
||||
});
|
||||
}());
|
@ -64,5 +64,8 @@
|
||||
"whiteList_description": "Domänen oder URLs, die die <canvas>-API verwenden dürfen. Mehrere Einträge müssen durch ein Komma getrennt werden.",
|
||||
"whiteList_title": "Whitelist",
|
||||
"whitelistDomain": "erlaube Domain",
|
||||
"whitelistURL": "erlaube URL"
|
||||
"whitelistURL": "erlaube URL",
|
||||
|
||||
"showReleaseNotes_title": "Versionsinformationen"
|
||||
"showReleaseNotes_label": "Anzeigen"
|
||||
}
|
@ -65,5 +65,8 @@
|
||||
"whiteList_description": "Domains or URLs where the <canvas>-API should not be blocked. To add multiple entries, separate them by commas.",
|
||||
"whitelist": "whitelist",
|
||||
"whitelistDomain": "whitelist domain",
|
||||
"whitelistURL": "whitelist URL"
|
||||
"whitelistURL": "whitelist URL",
|
||||
|
||||
"showReleaseNotes_title": "Release notes",
|
||||
"showReleaseNotes_label": "Show"
|
||||
}
|
@ -134,6 +134,12 @@
|
||||
"title": "File specific white list",
|
||||
"type": "string",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"name": "showReleaseNotes",
|
||||
"title": "Release notes",
|
||||
"type": "control",
|
||||
"label": "Show"
|
||||
}
|
||||
],
|
||||
"main": "lib/main.js",
|
||||
|
@ -1,3 +1,15 @@
|
||||
Version 0.3.3:
|
||||
changes:
|
||||
- switching of the mode, white- and black-listing only affects new loaded pages
|
||||
|
||||
new features:
|
||||
- auto close of the notifications (preference)
|
||||
- button to show the release notes
|
||||
|
||||
fixes:
|
||||
- "about:"-tabs could not be dragged
|
||||
- performance issues
|
||||
|
||||
Version 0.3.2:
|
||||
new features:
|
||||
- "fake at input" mode
|
||||
|
Loading…
Reference in New Issue
Block a user