Free Youtube!

By Stephen Paul Weber Last update Sep 22, 2011 — Installed 41,921 times.

A modified version?

in
Subscribe to A modified version? 2 posts, 2 voices



daniele80 User
FirefoxX11

I would like a simple change:
the text link would not *replace* embedded youtube videos (on external sites),
but it would be *added* below the video.

I think I should change something on this part of the script:
/* EMBED CODES */
} else {
unsafeWindow.addEventListener('DOMNodeInserted', init, false);
embed_codes(document.getElementsByTagName('embed'));
embed_codes(document.getElementsByTagName('object'));
for(var i in toremove) {
toremove[i].parentNode.removeChild(toremove[i]);
}
toremove = [];
}

could you help me? Thanks in advice

 
Stephen Paul... Script's Author
FirefoxX11

I think if you just comment out the toremove stuff, it'll do what you want

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel