mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Beta 0.4.3 RC2
Disabled forceLoad - not in production!
This commit is contained in:
parent
d787b84b13
commit
912f83b80a
BIN
canvasblocker_beta-0.4.3RC2-an+fx.xpi
Normal file
BIN
canvasblocker_beta-0.4.3RC2-an+fx.xpi
Normal file
Binary file not shown.
@ -89,22 +89,22 @@
|
||||
var map = originalPropertyDescriptors[name] || new WeakMap();
|
||||
originalPropertyDescriptors[name] = map;
|
||||
map.set(constructor, Object.getOwnPropertyDescriptor(constructor.prototype, name));
|
||||
Object.defineProperty(
|
||||
constructor.prototype,
|
||||
name,
|
||||
{
|
||||
enumerable: true,
|
||||
configureable: true,
|
||||
get: exportFunction(function(){
|
||||
undoPreIntercept();
|
||||
settings.forceLoad();
|
||||
doRealIntercept();
|
||||
var descriptor = Object.getOwnPropertyDescriptor(constructor.prototype, name);
|
||||
return descriptor.value || descriptor.get();
|
||||
}, window),
|
||||
set: exportFunction(function(){}, window)
|
||||
}
|
||||
);
|
||||
// Object.defineProperty(
|
||||
// constructor.prototype,
|
||||
// name,
|
||||
// {
|
||||
// enumerable: true,
|
||||
// configureable: true,
|
||||
// get: exportFunction(function(){
|
||||
// undoPreIntercept();
|
||||
// settings.forceLoad();
|
||||
// doRealIntercept();
|
||||
// var descriptor = Object.getOwnPropertyDescriptor(constructor.prototype, name);
|
||||
// return descriptor.value || descriptor.get();
|
||||
// }, window),
|
||||
// set: exportFunction(function(){}, window)
|
||||
// }
|
||||
// );
|
||||
});
|
||||
preIntercepted = true;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "CanvasBlocker",
|
||||
"name": "CanvasBlocker-Beta",
|
||||
"description": "__MSG_addon_description__",
|
||||
"version": "0.4.3-Development",
|
||||
"version": "0.4.3RC2",
|
||||
"icons": {
|
||||
"48": "icons/icon.svg",
|
||||
"96": "icons/icon.svg"
|
||||
@ -66,7 +66,7 @@
|
||||
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "CanvasBlocker@kkapsner.de",
|
||||
"id": "CanvasBlocker-Beta@kkapsner.de",
|
||||
"strict_min_version": "52.0"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user