Last active
August 29, 2015 14:01
-
-
Save shuding/ae54a29950b62d6d67e3 to your computer and use it in GitHub Desktop.
Replace stu auth page css to dandu css.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = document.getElementsByTagName('link').length; | |
for(i = 0; i < n; ++i) | |
document.getElementsByTagName('link')[0].remove(); | |
cssChild = document.createElement('link'); | |
cssChild.type = 'text/css'; | |
cssChild.rel = 'stylesheet'; | |
cssChild.href = 'http://stu.fudan.edu.cn/dandu/css/dandu-style.css'; | |
document.getElementsByTagName('head')[0].appendChild(cssChild); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment