Thu, September 23, 2021
 
https://devcodepro.comdevcodepro
X
Home · Latest · Trends
3

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 3 times (3) (0)
comments: 0 / hits: 636  / 2 years ago, tue, mar 10, 20, 04:06:17
More From » JavaScript
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Posted
suppe
Member since Feb 16, 2020
Total Code Snippets: 5
Total Comments: 2
Location: New Britain, Connecticut
suppe snippets
2 years ago, sun, mar 8, 20, 6:58:05
comments: 0 / hits: 965
PHP
1 year ago, sun, sep 6, 20, 10:58:41
comments: 0 / hits: 334
1 year ago, sun, sep 27, 20, 5:47:13
comments: 0 / hits: 361
1 year ago, mon, oct 12, 20, 1:27:34
comments: 0 / hits: 301