diff options
| author | Antti Ajanki <antti.ajanki@iki.fi> | 2011-01-23 16:34:33 +0200 |
|---|---|---|
| committer | Antti Ajanki <antti.ajanki@iki.fi> | 2011-01-23 16:34:33 +0200 |
| commit | 9ede576ef1934f3e4ce5fddbdd7d1ba0b361e67a (patch) | |
| tree | 03442a8b31291e4ae1b989a8bcaf16c6f09a3ef1 /examples/savevideo_bookmarklet.js | |
| parent | 98c387e6944ff6539a5b3bd47336187e447c2570 (diff) | |
| download | vdr-plugin-webvideo-9ede576ef1934f3e4ce5fddbdd7d1ba0b361e67a.tar.gz vdr-plugin-webvideo-9ede576ef1934f3e4ce5fddbdd7d1ba0b361e67a.tar.bz2 | |
Support downloading in watchonvdr_proxy.py, patch by Samuli Sorvakko
Diffstat (limited to 'examples/savevideo_bookmarklet.js')
| -rw-r--r-- | examples/savevideo_bookmarklet.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/savevideo_bookmarklet.js b/examples/savevideo_bookmarklet.js new file mode 100644 index 0000000..ac16542 --- /dev/null +++ b/examples/savevideo_bookmarklet.js @@ -0,0 +1 @@ +javascript:(function(){ var vdrserver='127.0.0.1:43280'; var xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET", "http://" + vdrserver + "/download?url=" + encodeURIComponent(location.href), true); xmlhttp.send(null); })();
\ No newline at end of file |
