mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-05-19 03:33:17 +12:00
fix regression from fix to https://github.com/uBlockOrigin/uMatrix-issues/issues/53
This commit is contained in:
parent
cc0bed69bf
commit
12a471c3c5
|
@ -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' ) {
|
||||
|
|
Loading…
Reference in a new issue