mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-19 02:04:26 +00:00
deploy: 16ecf378a6
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
queue.push = push;
|
||||
queue.forEach(push);
|
||||
}
|
||||
var _window = window, dataLayer = _window.dataLayer, google_optimize = _window.google_optimize;
|
||||
var {dataLayer: dataLayer, google_optimize: google_optimize} = window;
|
||||
if (dataLayer instanceof Object === false) {
|
||||
return;
|
||||
}
|
||||
@@ -98,17 +98,17 @@
|
||||
}
|
||||
try {
|
||||
var trace = console.trace.bind(console);
|
||||
var label = "".concat(ADGUARD_PREFIX, " ");
|
||||
var label = `${ADGUARD_PREFIX} `;
|
||||
if (source.engine === "corelibs") {
|
||||
label += source.ruleText;
|
||||
} else {
|
||||
if (source.domainName) {
|
||||
label += "".concat(source.domainName);
|
||||
label += `${source.domainName}`;
|
||||
}
|
||||
if (source.args) {
|
||||
label += "#%#//scriptlet('".concat(source.name, "', '").concat(source.args.join("', '"), "')");
|
||||
label += `#%#//scriptlet('${source.name}', '${source.args.join("', '")}')`;
|
||||
} else {
|
||||
label += "#%#//scriptlet('".concat(source.name, "')");
|
||||
label += `#%#//scriptlet('${source.name}')`;
|
||||
}
|
||||
}
|
||||
if (trace) {
|
||||
|
||||
Reference in New Issue
Block a user