Skip to content

Instantly share code, notes, and snippets.

@zed9h
Created October 10, 2009 01:02
Show Gist options
  • Save zed9h/206488 to your computer and use it in GitHub Desktop.
Save zed9h/206488 to your computer and use it in GitHub Desktop.
Greasemonkey to improve the Virtuoso's SPARQL endpoint form
// ==UserScript==
// @name virtuoso sparql
// @namespace http://*/sparql
// @description melhorar a tela de query sparql do virtuoso
// @include http://*/sparql
// ==/UserScript==
document.getElementById("query").rows = 22;
document.getElementById("header").style.display = "none";
var e = document.getElementById("main").firstChild;
while(e) {
if(e.tagName == "P")
e.style.display = "none";
e = e.nextSibling;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment