Update search.js

This commit is contained in:
O2bmm 2025-11-05 15:04:16 +08:00
parent 04f1c5350f
commit 0d0eee2289
1 changed files with 2 additions and 5 deletions

View File

@ -415,10 +415,7 @@
return result;
};
}
// 调试输出
if (typeof CATCH_SEARCH_DEBUG !== 'undefined' && CATCH_SEARCH_DEBUG) {
console.log(_DataView.name, arguments, instance);
}
CATCH_SEARCH_DEBUG && console.log(_DataView.name, arguments, instance);
// 根据 byteLength 条件发送数据
if (instance.byteLength === 16 && instance.buffer.byteLength === 16) {
postData({ action: "catCatchAddKey", key: instance.buffer, href: location.href, ext: "key" });
@ -434,7 +431,7 @@
postData({ action: "catCatchAddKey", key: key, href: location.href, ext: "key" });
}
return instance;
};
}
DataView.toString = function () {
return _DataView.toString();
}