// ==UserScript==
// @name Streamed Video MU
// @namespace http://testing.org
// @description To stream avi videos through icedivx.com in a
floating child iframe?
// @version 0.1
// @include *megaupload.com/?d=*
// ==/UserScript==
var x=document.getElementsByTagName("a");
for (i=0;i<x.length;i++)
{
var y=x[i].getAttribute('href');
var patt1=new RegExp(".avi$|.divx$");
var ok=patt1.test(y)
if (ok == false) {
}
else if ( ok == true ) {
input_box=confirm(" Streamed Video :" + '\n' + '\n' + "Vous vous
apprêtez à télécharger une vidéo, voulez-vous la lire en
streamming ?");
if (input_box==true)
}
}
function (asdf) {
var div = document.createElement("div");
div.className = 'movie';
d.innerHTML = '<iframe src="http://www.icedivx.com/video.php?vurl=" +
y height="320" width="650"></iframe>'
}
_____________________________________________________________
Please bare with me im really new at all of this! I cannot figure out
whats going on, at the bottom of my grease monkey script i am trying
to get a floating iframe to load ontop of the megaupload website to
stream the downloading avi through the DivX Web Player at "icedivx.com/
video.php?vurl=". The code to find the download link and pass it
works flawlessly i just need to know how to get a floating iframe to
load with mywebsite!!
--
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.