Index: background.js |
=================================================================== |
--- a/background.js |
+++ b/background.js |
@@ -113,10 +113,9 @@ |
var contextMenuItem = { |
title: ext.i18n.getMessage("block_element"), |
contexts: ["image", "video", "audio"], |
- onclick: function(srcUrl, page) |
+ onclick: function(page) |
{ |
- if (srcUrl) |
- page.sendMessage({type: "clickhide-new-filter", filter: srcUrl}); |
+ page.sendMessage({type: "clickhide-new-filter"}); |
} |
}; |