Index: background.js |
=================================================================== |
--- a/background.js |
+++ b/background.js |
@@ -32,7 +32,8 @@ |
{ |
this.isWhitelisted = isWhitelisted; |
this.isFrameWhitelisted = isFrameWhitelisted; |
- this.processKeyException = processKeyException; |
+ this.processKey = processKey; |
+ this.getKey = getKey; |
} |
var FilterStorage = require("filterStorage").FilterStorage; |
var ElemHide = require("elemHide").ElemHide; |
@@ -556,8 +557,8 @@ |
page.sendMessage(msg); |
}); |
break; |
- case "add-key-exception": |
- processKeyException(msg.token, sender.page, sender.frame); |
+ case "add-sitekey": |
+ processKey(msg.sitekey, sender.page, sender.frame); |
break; |
case "forward": |
if (sender.page) |