1 javascript: (function() {
2 the_url = 'view/theme/dispy-dark/fpostit/fpostit.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' +
3 encodeURIComponent(''+(window.getSelection ? window.getSelection() : document.getSelection ?
4 document.getSelection() : document.selection.createRange().text));
6 if (!window.open(the_url, 'fpostit','location=yes,links=no,scrollbars=no,toolbar=no,width=600,height=300')) {
7 location.href = the_url
9 if (/Firefox/.test(navigator.userAgent)) {
10 setTimeout(a_funct, 0)