Index: lib/child/objectTabs.js |
=================================================================== |
--- a/lib/child/objectTabs.js |
+++ b/lib/child/objectTabs.js |
@@ -308,18 +308,22 @@ var objTabs = |
rect.bottom += relTop; |
} |
return rect; |
}, |
doBlock: function() |
{ |
- // TODO: Store this.currentElement for the filter assistant |
- sendAsyncMessage("AdblockPlus:BlockItem", this.objtabElement.nodeData); |
+ let {storeNodes} = require("child/contentPolicy"); |
+ let nodesID = storeNodes([this.currentElement]); |
+ sendAsyncMessage("AdblockPlus:BlockItem", { |
+ request: this.objtabElement.nodeData, |
+ nodesID |
+ }); |
}, |
/** |
* Called whenever a timer fires. |
* @param {nsISupport} subject |
* @param {string} topic |
* @param {string} data |
*/ |