Skip to content

Instantly share code, notes, and snippets.

Created Dec 15, 2009
What would you like to do?
# Glitch all images.
jetpack.tabs.onReady(function (doc) {
if (doc.defaultView.frameElement) { return }
$(doc).find('img').each(function() {
$(this).attr('src', '' + encodeURIComponent(this.src));
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
<link rel='jetpack' href='glitch.js' name='Glitch' />
<title>Hello Jetpack install page</title>
<h1>Hello Jetpack install page</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment