I have a Javascript function that is passed a string. The string that it is passed is an entire webpage, including the header. I need the Javascript to replace the entire
javascript:document.open('text/html');document.write('HAIOMG HAI2U!!!1');document.close();
HAIOMG HAI2U!!!1