From 12a471c3c58122ea18908125db9f2e2afae79d17 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 15 Sep 2018 10:33:44 -0400 Subject: [PATCH] fix regression from fix to https://github.com/uBlockOrigin/uMatrix-issues/issues/53 --- src/js/messaging.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/messaging.js b/src/js/messaging.js index fc30976..34ddf3e 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -206,8 +206,8 @@ var matrixSnapshot = function(pageStore, details) { }; if ( - typeof details.scope === 'string' && - r.hostname.endsWith(details.scope) + (typeof details.scope === 'string') && + (details.scope === '*' || r.hostname.endsWith(details.scope)) ) { r.scope = details.scope; } else if ( µmuser.popupScopeLevel === 'site' ) {