Skip to content

Instantly share code, notes, and snippets.

@hayamiz
Created January 16, 2009 16:48
Show Gist options
  • Save hayamiz/47993 to your computer and use it in GitHub Desktop.
Save hayamiz/47993 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name OutputzGraphNicer
// @namespace hayamiz
// @include http://outputz.com/*
// ==/UserScript==
(function(){
var ret = document.evaluate("//img[contains(@src,'cht=p3')]", document, null, 7, null);
for(i=0;i < ret.snapshotLength;i++){
var graph = ret.snapshotItem(i);
var start = graph.src.indexOf("?");
graph.src = "http://unicus.ddo.jp/outputz-plot.cgi" + graph.src.substring(start, graph.src.length);
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment