This commit is contained in:
2024-12-16 12:09:13 +08:00
parent 80b3219244
commit cdf683bd62

View File

@@ -192,7 +192,7 @@ export function main() {
if (item.request.uri.startsWith('/api?query=')) { if (item.request.uri.startsWith('/api?query=')) {
const url = decodeURI(item.request.uri) const url = decodeURI(item.request.uri)
const regex = /text:"([^"]*)"/g const regex = /text:"([^"]*)"/g
const match = regex.exec(url) || [] const match = regex.exec(url)
if (match) { if (match) {
let key = match[1] let key = match[1]
截图.搜索词..set(key, (截图.搜索词..get(key) || 0) + 1) 截图.搜索词..set(key, (截图.搜索词..get(key) || 0) + 1)