okay ive been looking at javascript injection and at one point had an iframe injected into a page on a site (non permanent) then i fell asleep and forgot how i did it >.< in my attempt to redo this i have come up with this bit of code...
Code:
javascript:var iframe=document.createElement('iframe'); iframe.setAttribute("src","http://www.google.com");iframe.setAttribute("width","500px");iframe.setAttribute("height","500px");document.body.appendChild(iframe);
yes it is all in a line and yes it is supposed to be lol. When i inject this particular 'line' of javascript i dont get anything but a new page that merely says
Quote:
|
[object HTMLIFrameElement]
|
ther rest of the page is blank. Any ideas on how to get the iframe to actually appear on the page so i can see it and use it?