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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>replaceState Test for Greasemonkey</title> | |
<script> | |
window.addEventListener('DOMContentLoaded',function(){ | |
window.history.replaceState(document.url, null); | |
},false); | |
</script> | |
</head> |
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
__d("HistoryManager", ["event-extensions", "function-extensions", "Cookie", "Env", "URI", "UserAgent", "copyProperties", "goOrReplace"], function (a, b, c, d, e, f) { | |
b('event-extensions'); | |
b('function-extensions'); | |
var g = b('Cookie'), | |
h = b('Env'), | |
i = b('URI'), | |
j = b('UserAgent'), | |
k = b('copyProperties'), | |
l = b('goOrReplace'), | |
m = { |
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 Upload UserScript from GitHub to UserScripts | |
// @namespace vidzbigger.com | |
// @description Allows one to easily move user.js files to their userscripts.org profile. Publish updates with ease. All you have to do is add a link to your profile in your script description or project README file on github | |
// @include http://github.com/*/* | |
// @include http://gist.github.com/* | |
// @include http://userscripts.org/scripts/edit_src/* | |
// @include http://userscripts.org/scripts/new* | |
// @match http://github.com/*/* | |
// @match http://gist.github.com/* |
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 GitHub Compare Branch w/ Master Link | |
// @namespace githubCompareBranchMaster | |
// @include http*://github.com/*/* | |
// @match http://github.com/*/* | |
// @datecreated 2010-06-02 | |
// @lastupdated 2010-06-03 | |
// @version 0.1 | |
// @author Erik Vergobbi Vold | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html |
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 Document Start Test | |
// @namespace vidzbigger.com | |
// @description This scrip tests document-start | |
// @include http://* | |
// @run-at document-start | |
// ==/UserScript== | |
GM_addStyle('body{display:none;}'); |