// ==UserScript==
// @name         test
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
//注意!match后边的网址是这个脚本生效的网址
// @match        https://www.baidu.com/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    //time以毫秒为单位
    let time=1000;
    setTimeout(() => {
        location.reload()
    },time);
    // Your code here...
})();