Greasy Fork is available in English.

自动刷新微博网页

自动刷新打开的微博网页

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name         自动刷新微博网页
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  自动刷新打开的微博网页
// @author       ddd
// @match        https://*.weibo.com/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    let timeout = 30 // 几秒,例如10就是10秒刷新一次
    console.log('%s秒后刷新: ', timeout);
    setTimeout(() => {
      location.reload()
    }, timeout*1000);
})();