Skip to content

Instantly share code, notes, and snippets.

@KingCprey
Last active August 15, 2016 20:52
Show Gist options
  • Save KingCprey/921829c3262f9c7a135383ed9cdc26e6 to your computer and use it in GitHub Desktop.
Save KingCprey/921829c3262f9c7a135383ed9cdc26e6 to your computer and use it in GitHub Desktop.
Vodlocker get video url
//Video have to have loaded b4 it can be downloaded
javascript:(function(){var videlems=document.getElementsByName("videourl");var velem=videlems.length>0?videlems[0]:null;if(velem==null){alert("videourl element doesn't exist...");}else{prompt("Video URL",velem.getAttribute("value"));}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment