Am 15.04.2012 13:28, schrieb Ben Stover:
According to a comment in the past I tried again to append multiple separate
pages into ONE page according to
// ==UserScript==
// @name AppendPages
// @namespace Foo
// @description Test
// @include http://*apptest.com/*
// @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);
However after I installed te user script append.user.js in Firefox and entered
the URL http://www.apptest.com
nothing happened. The webpages remains blank.
Why?
Do I have to add some more code?
Maybe because you did not add the height and the width?
All pages should appear on one webpage. One below the other wiht ONE scrollbar
for all (not 3 individual scrollbars)
Ben
I don't think that is possible, iframes do not strech content-aware. As
the name indicates, they are /inline *frames*/.
Chris
--
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.