您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the border for the Banner Ad on Howrse.
// ==UserScript== // @name Howrse BannerAd Border Removal // @namespace myHowrse // @description Removes the border for the Banner Ad on Howrse. // @include http://www.howrse.com/* // @exclude http://www.howrse.com/member/forum/ // @exclude http://www.howrse.com/member/forum/topics/* // @author daexion // @version 1 // ==/UserScript== var l = document.getElementsByTagName('div'); var i=0; while(i<l.length) { if(l[i].hasAttribute("style")) { GM_log(l[i].getAttribute("style")); if(l[i].getAttribute("style") == "float: left; min-width: 728px; padding-left: 0px; min-height: 90px; border: 2px solid rgb(200, 223, 229);") { l[i].setAttribute("style","float: left; min-width: 728px; padding-left: 0px; min-height: 90px; border: 0px solid rgb(200, 223, 229);"); i=l.length; } if(l[i].getAttribute("style") == "float: left; min-width: 728px; padding-left: 0px; min-height: 90px; border: 2px solid #C8DFE5;") { l[i].setAttribute("style","float: left; min-width: 728px; padding-left: 0px; min-height: 90px; border: 0px solid #C8DFE5;"); i=l.length; } } ++i; };