javascript : function tbstjko ( j ) { var c = j. data . children ; var l = c. length ; if ( l == 0 ) { alert ( 'Not submitted' ) } else { var t = '' ; for ( i = 0 ; i < l ; i ++ ) { t += ' * ' + c [ i ] . data . subreddit + '

' } alert ( 'submitted to

' + t ) } } ( function ( ) { var u = window. location . href ; var v = 'https://reddit.com/api/info.json?jsonp=tbstjko&url=' + escape ( u ) ; var h = document. head ; var s = document. createElement ( "script" ) ; s. setAttribute ( "src" , v ) ; h. appendChild ( s ) ; h. removeChild ( s ) ; void ( 0 ) } ) ( )

/*

copy the code to a bookmark, then click on the bookmark

to get an alert telling you whether the URL has been submitted

to Reddit or not. Works in Chrome, Safari,

Firefox [thanks to /u/gavin19]

Latest version has safer variables and function names,

thanks to /u/NatNoBrains, see https://gist.github.com/natzim/9d370078597eb26853d8