Last active
January 6, 2019 16:37
-
-
Save CTimmerman/a7ed927fabc44b68d411 to your computer and use it in GitHub Desktop.
Like-o-matic bookmarklet based on http://marklets.com/Like-o-matic.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){try{var url='https://www.facebook.com/plugins/like.php?href='+encodeURIComponent(location.href);eval('');var ifr=document.createElement('iframe');ifr.style.cssText='border:0px;z-index:9000;position:fixed;top:100px;left:10px;width:200px;height:70px';ifr.src=url;document.getElementsByTagName('body')[0].appendChild(ifr)}catch(e){window.open(url)}})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var w=window.open('',"LikeOMatic","height=200,width=350,top="+(screenY+outerHeight/2-100)+",left="+(screenX+outerWidth/2-175));w.document.title=document.title;var ifr=w.document.createElement('iframe');ifr.style.cssText='border:0px';ifr.src='https://www.facebook.com/plugins/like.php?href='+encodeURIComponent(location.href);w.document.body.innerHTML='';w.document.getElementsByTagName('body')[0].appendChild(ifr)})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:location.href="https://www.facebook.com/plugins/like.php?href="+encodeURIComponent(location.href) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the record, this is when FB likes were shared on one's public timeline.