Skip to content

Instantly share code, notes, and snippets.

@Ventero
Created August 10, 2010 16:03
Show Gist options
  • Save Ventero/517517 to your computer and use it in GitHub Desktop.
Save Ventero/517517 to your computer and use it in GitHub Desktop.
<html>
<body>
<script type="text/javascript" src="resource://greasemonkey/config.js"></script>
<script type="text/javascript">
if (typeof Config !== "undefined") {
alert("You have Greasemonkey (branch firefox4-addonstab) installed");
} else if ("gmIGreasemonkeyService" in Components.interfaces) {
alert("You have Greasemonkey <= 0.8 installed");
} else {
alert("No Greasemonkey detected");
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment