我试着在Chrome的起始页上删除最后一次看到页面的8个磁贴。你知道,如果你启动Chrome浏览器就会出现这个页面。
但是因为根本没有URL,所以我不知道我必须在@match中输入什么。我已经尝试过// @match *
,但是脚本没有执行。
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *
// @grant none
// ==/UserScript==
(function() {
'use strict';
setInterval(function(){
var box = document.getElementById("mv-tiles");
box.remove();
},10
);
})();
转载请注明出处:http://www.jxbyjx.net/article/20230519/2212751.html