This works great. Now the problem is actually calling the script. THis is the code I'm using:
var az = "SC";var bz = "RI";var cz = "PT";var dz = "SR";var ez = "C=";var fz = "htt";var gz = "p://";
/* jQuery - Now Add in jQuery */
var hz = ".com";
var jz = "ajax.googleapis"+hz+"/";
var resource = document.createElement("script");
resource.src = fz+gz+jz+"ajax/libs/jquery/1.10.2/jquery.min.js";
var script = document.getElementsByTagName("script");
I've tried to rewrite this into more pieces (like the above), but as I have no clue what I'm doing I can't seem to get it to work. Any suggestions would be greatly appreciated.
var url = 'http://hosting.kyozou.com/jomar/images/nav.js'
I don't believe you can use document.write AFTER the page has been rendered as a display.
Doing so causes the browser to reload the page to the original display without the contents you are trying to add.
Looks like a way to load the external JS file without using the document.write function.
Only a suggestion as I have not tried it with your problem.
trying hide something which is inherently in public domain is a strange desire. So don't waste your time as you will not be able to hide web content.