Created
April 23, 2009 01:56
-
-
Save liuzhoou/100233 to your computer and use it in GitHub Desktop.
Greasemonkey
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
// ==UserScript== | |
// @name reload | |
// @namespace reload | |
// @description reload pages | |
// @include http://* | |
// ==/UserScript== | |
setTimeout("location.href=window.location.href", 5000); | |
// ==UserScript== | |
// @name load_jquery | |
// @namespace load_jquery | |
// @description load_jquery | |
// @include * | |
// ==/UserScript== | |
var s = document.createElement("script"); | |
s.setAttribute("src", 'http://jquery.com/src/jquery-latest.js'); | |
document.body.appendChild(s); | |
// ==UserScript== | |
// @name load_mt | |
// @namespace load_mt | |
// @description load mootools | |
// @include * | |
// ==/UserScript== | |
var s = document.createElement('script'); | |
s.setAttribute('src', 'http://mootools.net/download/get/mootools-1.2.1-core-yc.js'); | |
document.body.appendChild(s); | |
// ==UserScript== | |
// @name grid | |
// @namespace grid | |
// @include * | |
// ==/UserScript== | |
$(".grid").css("background", "url(http://www.cgshow.com/images/grid.png)"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment