Created
December 15, 2009 00:33
-
-
Save Sixeight/256599 to your computer and use it in GitHub Desktop.
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
# Glitch all images. | |
jetpack.tabs.onReady(function (doc) { | |
if (doc.defaultView.frameElement) { return } | |
$(doc).find('img').each(function() { | |
$(this).attr('src', 'http://hitode909.appspot.com/glitch/api?uri=' + encodeURIComponent(this.src)); | |
}); | |
}); |
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 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<link rel='jetpack' href='glitch.js' name='Glitch' /> | |
<title>Hello Jetpack install page</title> | |
</head> | |
<body> | |
<h1>Hello Jetpack install page</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment