您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Top-News Button
// ==UserScript== // @name Top-News // @include http://fussballcup.de/* // @version 0.1 // @description Top-News Button // @copyright mot33, 2016 // @namespace https://greasyfork.org/users/83290 // ==/UserScript== window.setTimeout(function() { changes() }, 2500); window.setInterval(function() { changes() }, 5000); function changes() { if(!document.getElementById("top-news")) { var topnews = document.getElementsByClassName("button")[0].firstElementChild.getAttribute("href"); document.getElementsByClassName("blog-image")[0].innerHTML += "<b style='position:absolute;bottom:8px;'>"+"<a href='#/index.php?w=301&area=user&module=press&action=topnews&squad=" + "' class='button' id='top-news'><span>T-News</span></b></a>"; } }