定时刷新

定时刷新脚本

Author
hiszm
Daily installs
0
Total installs
401
Ratings
4 0 0
Version
0.5
Created
2020-12-28
Updated
2020-12-28
Compatibility
Compatible with Chrome
License
GPL-3.0
Applies to
All sites

定时刷新页面

刷新时间

setTimeout(function(){location.reload();}, 1000);

默认1秒(1000=1秒) 可以自己调整

setTimeout(function(){location.reload();}, 10000);

十秒


作用范围

// @match *://*/*

默认匹配所有网页

可以自己调整

例如 某一个站点

// @match http://www.baidu.com/*

或者 某一个页面

// @match https://github.com/hiszm

或者多个网页


// @match        http://www.baidu.com/*
// @match        https://github.com/hiszm
// @match        https://cn.bing.com/*
// @match        https://cn.bing.com/academic/?FORM=Z9LH2