| Index: background.js | 
| =================================================================== | 
| --- a/background.js | 
| +++ b/background.js | 
| @@ -56,6 +56,7 @@ | 
| var NotificationStorage = require("notification").Notification; | 
| var initAntiAdblockNotification = require("antiadblockInit").initAntiAdblockNotification; | 
| var parseFilters = require("filterValidation").parseFilters; | 
| +var composeFilters = require("filterComposer").composeFilters; | 
| // Some types cannot be distinguished | 
| RegExpFilter.typeMap.OBJECT_SUBREQUEST = RegExpFilter.typeMap.OBJECT; | 
| @@ -556,6 +557,12 @@ | 
| htmlPages.set(sender.page, null); | 
| refreshIconAndContextMenu(sender.page); | 
| break; | 
| + case "compose-filters": | 
| + sendResponse(composeFilters( | 
| + msg.tagName, msg.id, msg.src, msg.style, | 
| + msg.classes, msg.urls, new URL(msg.baseURL) | 
| + )); | 
| + break; | 
| case "forward": | 
| if (sender.page) | 
| { |