// ==UserScript==
// @name Streamed Video MU
// @namespace http://streamedvideo.hebfree.org/
// @description Lorsque qu'un fichier vidéo est sur le point d'être
téléchargé, il est automatiquement lu en streamming.
// @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' + "Would you
like to Stream this video with DIVX-Player");
if (input_box==true)
{
openTab(y);
}
else
{
}
}
}
function (asdf) {
var div = document.createElement("div");
div.className = 'movie';
movie.innerHTML = '<iframe src="http://www.icedivx.com/video.php?
vurl=" + y></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 icedivx.com.
Sorry the first post i had was the old script heres the new one! still
dont work!
--
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.