Skip to content

Instantly share code, notes, and snippets.

@robinfang
Created July 2, 2014 15:53
Show Gist options
  • Select an option

  • Save robinfang/514fa70a53ef629618de to your computer and use it in GitHub Desktop.

Select an option

Save robinfang/514fa70a53ef629618de to your computer and use it in GitHub Desktop.
替换妈蛋的校园网登录界面图片
// ==UserScript==
// @name Replace Pic
// @namespace http://robinfang.github.com/
// @version 0.1
// @description 替换妈蛋的校园网登录界面图片
// @match http://202.204.48.82/1.htm
// @match http://kuandai.ustb.edu.cn/1.htm
// @copyright 2014+, Fang
// ==/UserScript==
document.getElementById("header").style.background='url(http://ww4.sinaimg.cn/large/63739a40gw1ehyue8s0vvj20qu09a76z.jpg)'
document.getElementById("banner").style.background='url(http://ww4.sinaimg.cn/large/63739a40gw1ehyue8s0vvj20qu09a76z.jpg) 0 220px'
document.getElementById("banner").style.marginTop='0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment