JS 清除(停止)所有 timeout 定时器 HenryZ 2022-02-01 更新于 2022-12-16 收录于 系列 Bookmarklet 目录 function clearTimeout() { var id = window.setTimeout(function() {}, 0); while (id--) { window.clearTimeout(id); } } clearTimeout(); 通过浏览器标签(Bookmarklet方式)调用: 【ClearTimeout】 <-拖拽链接到浏览器标签栏 Please enable JavaScript to view the comments powered by giscus.