d=document.createElement('SCRIPT');
d.src='http://tinyurl.com/3d6k7b';
document.getElementsByTagName('head').item(0).appendChild(d);void(0)Something like that, no? On Jul 30, 8:37 pm, metzgerite <[email protected]> wrote: > That's two more questions =] > > No, this simply adds iframes onto the end of document.body, which is > basically everything on the webpage, so it puts them at the bottom. I > just chose a blank page because it's where I have my test script > pointed to. > > All scripts have to run off of an existing web page, they can't create > a new page where none exists. > > On Jul 30, 5:08 am, Ben <[email protected]> wrote: > > > Ok, thank you. I will try it. > > > One more question: Is always an existing page required? > > Or is there a way to create an intial blank page out of the script? > > > Ben > > > On Jul 30, 2:06 am, metzgerite <[email protected]> wrote: > > > > Quick and dirty, designed to run on this webpage: > > > >http://www.wbt.com/CFIDE/debug/blank.html > > > > (it's the first blank page I found) > > > > Script: > > > > // ==UserScript== > > > // @name Test > > > // @namespace Foo > > > // @description Test > > > // @include *CFIDE/debug/blank.html* > > > // @version 0.0.1 > > > // ==/UserScript== > > > > var x = document.createElement("<iframe>"); > > > x.src = "http://www.google.com"; > > > document.body.appendChild(x); > > > var x = document.createElement("<iframe>"); > > > x.src = "http://www.yahoo.com"; > > > document.body.appendChild(x); > > > var x = document.createElement("<iframe>"); > > > x.src = "http://www.bing.com"; > > > document.body.appendChild(x); > > > > On Jul 28, 5:20 am, Ben <[email protected]> wrote: > > > > > Sorry for this question but how to show 3 independent web pages > > > > concatenated in one browser window? > > > > > Assume I have three URLs: > > > > >http://www.foobar.com/mypage.htmlhttp://www.blah.com/http://www.other... > > > > > How do I paste these pages (theri content) together and show them one > > > > below the other in one browser window with the help of Greasemonkey? > > > > > Ben- Hide quoted text - > > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
