diff --git a/content_scripts/events.js b/content_scripts/events.js index 819cdf63c..ae527ed99 100644 --- a/content_scripts/events.js +++ b/content_scripts/events.js @@ -48,7 +48,8 @@ var Events = (function() { }; self.isBlacklisted = function() { - return runtime.settings.blacklist[window.location.origin] || runtime.settings.blacklist['.*']; + return runtime.settings.blacklist[window.location.origin] || runtime.settings.blacklist['.*'] + || (runtime.settings.blacklistPattern && runtime.settings.blacklistPattern.test(window.location.href)); }; var eventListeners = {