Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:var video_id = window.location.search.split('v=')[1];var ampersandPosition = video_id.indexOf('&');if(ampersandPosition != -1) {video_id = video_id.substring(0, ampersandPosition);}var link = document.createElementNS("http://www.w3.org/1999/xhtml", "a");link.href = 'http://convert2mp3.net/en/index.php?p=call&format=mp3&url=https://www.youtube.com/watch?v=' + video_id;link.target = '_blank';var event = new MouseEvent('click', {'view': window,'bubbles': false,'cancelable': true});link.dispatchEvent(event);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement