WordPress.org

Ready to get started?Download WordPress

Forums

About the Posting Bookmarklet (5 posts)

  1. mythusmage
    Member
    Posted 8 years ago #

    Could we go back to the pop-up?

  2. ladydelaluna
    Member
    Posted 8 years ago #

    wow...

  3. snip
    Member
    Posted 8 years ago #

    "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.

  4. Dgold
    Member
    Posted 8 years ago #

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

    i haven't tried, just an idea

  5. snip
    Member
    Posted 8 years ago #

    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'));

Topic Closed

This topic has been closed to new replies.

About this Topic