您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replace the header background on /r/Guildwars2/
当前为
// ==UserScript== // @name Down with the sloth! // @include https://en.reddit.com/r/Guildwars2/* // @description:en Replace the header background on /r/Guildwars2/ // @run-at document-start // @grant GM_addStyle // @version 1.0 // @namespace https://greasyfork.org/users/31925 // @description Replace the header background on /r/Guildwars2/ // ==/UserScript== var picarray = ["http://i.imgur.com/ea5u5eO.jpg" , "http://i.imgur.com/TEJetJY.jpg" , "http://i.imgur.com/9w3wJve.jpg" , "http://i.imgur.com/UULnDzW.jpg" ] var picture = picarray[Math.floor(Math.random() * picarray.length)]; var position = Math.floor((Math.random() * 100) + 1); GM_addStyle("#header {background: url('" + picture + "' ) !important; background-position: 50%" + position + "% !important;}" + "#header::after {display: none !important;}" );