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); }; (function() { window.open('https://i.ytimg.com/vi/' + video_id + '/maxresdefault.jpg'); })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement