Skip to content

Instantly share code, notes, and snippets.

@jkriss
Created May 9, 2010 17:08
Show Gist options
  • Save jkriss/395278 to your computer and use it in GitHub Desktop.
Save jkriss/395278 to your computer and use it in GitHub Desktop.
javascript:void%20%28%28function%28%29%7B%0Aif%20%28%21document.getElementById%28%22Ijquery%22%29%29%20%7B%0Avar%20noeud_js%20%3D%20document.createElement%28%22script%22%29%3B%0Anoeud_js.setAttribute%28%22type%22%2C%20%22text%2Fjavascript%22%29%3B%0Anoeud_js.setAttribute%28%22id%22%2C%20%22Ijquery%22%29%3B%0Anoeud_js.setAttribute%28%22src%22%2C%20%22http%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1%2Fjquery.min.js%22%29%3B%0Adocument.getElementsByTagName%28%22head%22%29%5B0%5D.appendChild%28noeud_js%29%3B%0A%7D%0Afunction%20jquery_loaded%28%29%7B%0Avar%20tmp%20%3D%20%22false%22%3B%0Atry%20%7Btmp%20%3D%20%24%28%22body%22%29.text%28%29%3B%7Dcatch%20%28erreur%29%20%7Btmp%20%3D%20%22false%22%3B%7D%0Areturn%20tmp%3B%7D%0Afunction%20verif_loaded%28%29%7B%0Avar%20temp%20%3D%20jquery_loaded%28%29%3B%0Aif%20%28temp%20%21%3D%20%22false%22%29%20%7B%0AclearInterval%28interval%29%3B%0Acode%28%29%3B%0A%7D%0A%7D%0Avar%20interval%20%3D%20window.setInterval%28verif_loaded%2C%20100%29%3B%0Afunction%20code%28%29%0A%7B%0AjQuery%28%22iframe%3Alast%22%29.contents%28%29.find%28%22iframe%3Alast%22%29.contents%28%29.find%28%22body.editable%22%29.append%28%22%3Cbr%3E%3Cspan%20style%3D%5C%22font-family%3A%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%200.8em%3B%20color%3A%20%23555%5C%22%3Emark%20kriss%20%3Cspan%20style%3D%5C%22color%3A%20%23bbb%5C%22%3E%7C%3C%2Fspan%3E%20415-367-5672%20%3Cspan%20style%3D%5C%22color%3A%20%23bbb%5C%22%3E%7C%3C%2Fspan%3E%20%3Ca%20style%3D%5C%22color%3A%20%23777%5C%22%20href%3D%5C%22http%3A%2F%2Fkriss.org%2Fwho%5C%22%3Ekriss.org%2Fwho%3C%2Fa%3E%3C%2Fspan%3E%22%29%3B%0A%7D%0A%7D%0A%29%28%29%29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment