DEBUG
This commit is contained in:
2
main.js
2
main.js
@@ -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)
|
||||||
|
Reference in New Issue
Block a user