Bookmarklet to quickly submit links to your subreddit of choice.
Replace YOURSUBREDDITHERE
accordingly.
- Opens in new window so it doesn't navigate away from playing music/video.
- On YouTube it grabs the title without the - YouTube termination.
javascript:(function(){t=document.querySelector('.ytp-title-link');if(!t){t=document.title||""}else{t=t.textContent}m="http://www.reddit.com/r/YOURSUBREDDITHERE/submit?url="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(t);w=window.open(m,"addwindow");setTimeout(function(){w.focus()},250)})(); |