loki
loki
```js // 防抖是在指定时间内再次触发只会响应一次(最后那次)表现为延迟调用 const debounceIfy = (fn, wait) => { let timeoutId; return (...args) => { if (timeoutId) { // timeoutId 如果存在说明上一个fn任务还在等待,应该重制它为最近一次调用 clearTimeout(timeoutId); } timeoutId = setTimeout(() => { fn(...args);...
> @heijingg I don't see any dialogs on `'https://t.me/wallstreetbets'`. Are you sure those are dialogs (alert/confirm/prompt), and not some web content?  I don't know how to use code to...