Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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('https://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'));

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

Viewing 2 replies - 1 through 2 (of 2 total)