🏠 

Greasy Fork is available in English.

定时刷新

定时刷新脚本


安装此脚本?

作者
hiszm
日安装量
0
总安装量
636
评分
4 0 0
版本
0.5
创建于
2020-12-28
更新于
2020-12-28
大小
377 字节
兼容性
与 Chrome 兼容
许可证
GPL-3.0
适用于
所有网站

定时刷新页面

刷新时间

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