1
0
Fork 0
friendica_2020-09-1_sharedH.../mods/bookmarklet-share2friendica/bookmarklet-share2friendica.js
Hypolite Petovan c0b3b73c88 Move files from util to mods
- Move local.config.vagrant.php
- Move fpostit
- Move bookmarklet-share2friendica
- Updated Readme file
2018-11-28 23:08:43 -05:00

2 lines
391 B
JavaScript

javascript:(function(){f='https://YourFriendicaDomain.tld/bookmarklet/?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title);a=function(){if(!window.open(f+'&jump=doclose','friendica','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()