Fix: various
This commit is contained in:
parent
a4fc3e9162
commit
fbe77a8d15
|
@ -312,9 +312,10 @@ const styleManager = (() => {
|
||||||
let sloppy = false;
|
let sloppy = false;
|
||||||
let sectionMatched = false;
|
let sectionMatched = false;
|
||||||
const match = urlMatchStyle(url, style.data);
|
const match = urlMatchStyle(url, style.data);
|
||||||
if (match === false) {
|
// TODO: enable this when the function starts returning false
|
||||||
continue;
|
// if (match === false) {
|
||||||
}
|
// continue;
|
||||||
|
// }
|
||||||
if (match === 'excluded') {
|
if (match === 'excluded') {
|
||||||
excluded = true;
|
excluded = true;
|
||||||
}
|
}
|
||||||
|
@ -386,7 +387,6 @@ const styleManager = (() => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: report excluded styles and sloppy regexps?
|
|
||||||
function getAppliedCode(url, data) {
|
function getAppliedCode(url, data) {
|
||||||
if (urlMatchStyle(url, data) !== true) {
|
if (urlMatchStyle(url, data) !== true) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user