你可以通过这个插件让 coder666 的顶部有一个随机跳题按钮
As of
// ==UserScript==
// @name coder666 随机跳题
// @namespace http://tampermonkey.net/
// @version 2.0
// @description 你可以通过这个插件让 coder666 的顶部有一个随机跳题按钮
// @author emmm
// @match *://www.coder666.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// @license MIT
// ==/UserScript==
(function() {
// var r=(Math.floor(Math.random() * 905) + 1000).toString();
var w=document.querySelector('body > div:nth-child(1)');
//w.innerHTML='<button onclick="window.open(\'http://www.coder666.com/problem.php?id=\'+(Math.floor(Math.random() * 905) + 1000).toString(),\'_blank\');">try this problem</button>';
w.innerHTML='<br> \xa0 <a class="small ui orange button" onclick="window.open(\'http://www.coder666.com/problem.php?id=\'+(Math.floor(Math.random() * 905) + 1000).toString(),\'_blank\');">try this problem \xa0 ( random )</a>';
})();