Posted By

riddla on 07/01/10


Tagged

insert page jquery bookmarklet add


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

riddla
laurentzziu
wirenaught


jQuerify


 / Published in: JavaScript
 

explained@/via, just changed the script to add the new script to the 'html' element, because there might not always be a 'body' element (on some bad coded sites)

  1. javascript:var%20s=document.createElement('script');s.setAttribute('src','http://code.jquery.com/jquery-latest.js');document.getElementsByTagName('html')[0].appendChild(s);alert('thank%20you%20for%20using%20jquery!');void(s);

Report this snippet  

You need to login to post a comment.