Mon, May 17, 2021
 
https://devcodepro.comdevcodepro
X
Home · Latest · Trends  /  JavaScript
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: 558  / 1 year 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
1 year ago, sun, mar 8, 20, 6:58:05
comments: 0 / hits: 767
PHP
9 months ago, sun, sep 6, 20, 10:58:41
comments: 0 / hits: 258
8 months ago, sun, sep 27, 20, 5:47:13
comments: 0 / hits: 239
8 months ago, mon, oct 12, 20, 1:27:34
comments: 0 / hits: 194