dio-v
12/4/2013 - 6:08 AM

Easily Inject jQuery into any Web Page

Easily Inject jQuery into any Web Page

function jQueryInjection() {
    var body = document.getElementsByTagName("body")[0],
        script = document.createElement("script");
    
    script.type = "text/javascript";
    script.src = "http://code.jquery.com/jquery-latest.min.js";
    body.appendChild(script);
}