diff --git a/contrib/smjs/smartprefixes_common.js b/contrib/smjs/smartprefixes_common.js index beae08ff8..e894794c9 100644 --- a/contrib/smjs/smartprefixes_common.js +++ b/contrib/smjs/smartprefixes_common.js @@ -161,3 +161,15 @@ function babelfish (url) return url; } + +/* javascript:videodownloader("%s"); */ +function videodownloader (url) +{ + elinks.load_uri("http://videodownloader.net/get/?url=" + escape(url), + function (cached) { + var url = cached.content.match(/