WordPress.org

Support

Support » Requests and Feedback » About the Posting Bookmarklet

About the Posting Bookmarklet

Viewing 4 replies - 1 through 4 (of 4 total)
  • wow…

    “wow” what, exactly?

    I posted a similar request on Friday. Trying to figure out the Javascript. If I get it working, I will post. Either popup or new tab (new tab would be better) is what I am after.

    The problem with the current method of overwriting the existing page should be pretty obvious to anyone who actually uses this feature: it is difficult to reference an over-written web page for quotation, ect.

    could you right-click it and say “open in new tab”?

    i haven’t tried, just an idea

    I promised I’d post my solution, and here it is… replace your bookmark javascript with this:

    javascript:if(navigator.userAgent.indexOf('Safari') >=0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('http://news.h2only.ca/wp-admin/post.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title),'WordPressbookmarklet','scrollbars=yes,width=1000,height=700,left=25,top=25,status=yes'));

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘About the Posting Bookmarklet’ is closed to new replies.
Skip to toolbar