Mon, May 25, 2020, 15:02:41
 
Home · Latest · Trends  /  JavaScript
2

Reddit toolbar bookmarklet code

javascript:(function(){f='https://www.reddit.com/submit?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title);a=function(){if(!window.open(f+'noui=1&jump=doclose','enter','location=yes,links=no,scrollbars=no,toolbar=no,width=660,height=480,top=220,left=220'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()
rated 2 times [  2] [ 0]  / comments: 0 / hits: 97  / 3 months ago, tue, mar 10, 2020, 16:06:17
More From » JavaScript
 

Comments

There are no comments for this Snippet yet
Username
 
Your Comment
 
Share
Snippets
3 months ago, sun, mar 8, 2020
Posted
suppe

suppe

Member since Feb 16, 2020
Total Code Snippets: 2
Total Comments: 1
Location: n/a
Following
User not following anyone yet.