enable youtube-html5-player save-video-as option

72 views
Skip to first unread message

Marko Kaznovac

unread,
Aug 4, 2011, 12:36:11 PM8/4/11
to persona...@googlegroups.com
{"name":"YouTube_HTML5","urlRegex":"^https?://www\\.youtube\\.com/watch\\?v=","urlExcludeRegex":"","enabled":true,"preserveDocWrite":true,"css":"","html":"","js":"(function() {\n var menu = document.getElementsByClassName(\"html5-context-menu\")[0];\n var saveas = menu.childNodes[1].childNodes[1];\t\n var video = document.getElementsByClassName(\"video-stream\")[0];\n saveas.setAttribute(\"href\", video.getAttribute(\"src\"));\n})();","filters":[]}

[in]sanity checks are not implemented,
please make sure you are using yt html5 player
Reply all
Reply to author
Forward
0 new messages