• Resolved johnathonwilliams

    (@johnathonwilliams)


    Sorry if I’m being thick here, but I can’t seem to find the Press It! bookmarklet in WP 2.5.

    In previous versions it was at the bottom of the Write Post screen.

    Anyone else?

Viewing 9 replies - 1 through 9 (of 9 total)
  • ian-betteridge

    (@ian-betteridge)

    Nope, it seems to have gone walkies.

    Dion Hulse

    (@dd32)

    Meta Developer

    The bookmarklet has been removed from WP 2.5.

    According to Matt it’ll be making a return in 2.6 better than ever.

    You can still use the 2.3 bookmarklet, which you can find on this page: http://codex.wordpress.org/Press_It

    I also wrote these ones up awhile ago since the default one didnt support Opera very well:
    New Window/tab: javascript:function A(b){return (encodeURIComponent)?encodeURIComponent(b):escape(b);}Q='';if(window.getSelection){Q=window.getSelection();}else if (document.getSelection){Q=document.getSelection()}else if(document.selection){Q=document.selection.createRange().text;}void(window.open('http://site-url/wp-admin/post-new.php?text='+A(Q)+'&popupurl='+A(location.href)+'&popuptitle='+A(document.title)));

    One which works in the current window: javascript:function A(b){return (encodeURIComponent)?encodeURIComponent(b):escape(b);}Q='';if(window.getSelection){Q=window.getSelection();}else if (document.getSelection){Q=document.getSelection()}else if(document.selection){Q=document.selection.createRange().text;}location.href='http://site-url/wp-admin/post-new.php?text='+A(Q)+'&popupurl='+A(location.href)+'&popuptitle='+A(document.title);

    You’ll need to update the ‘site-url’ in the link to be useful though.
    Just create a new bookmark and set those as the URL..

    Thread Starter johnathonwilliams

    (@johnathonwilliams)

    Got it. Thanks for your help.

    pozmu

    (@pozmu)

    fimp

    (@fimp)

    pozmu: I had the same problem as you, but this one worked for me:

    javascript:location.href=’http://SITEURL/wp-admin/post-new.php?popupurl=’+escape(location.href)+’&popuptitle=’+escape(document.title);

    Dion Hulse

    (@dd32)

    Meta Developer

    apologies for the late reply 🙂

    dd32 thanks, but it dosn’t work for me (I’m using Opera).
    I get redirected to URL like this:

    I’m not sure, I just tried it in Opera9.5 and it worked for me, and that URL looks allright to me(Infact, If i change the url it does work for me).

    If you have the same problem, I’d just give fimp’s version a go, but you’ll loose the select-text functions.

    danapalooza

    (@danapalooza)

    Thanks dd32. In Safari, works like a charm.

    My old PressIt link, which is a browser button for me, still seems to work. Doesn’t seem to do images though, which I think it used to…

    dd32 was correct in his links for PressIt; the only problem was that his ‘&’ in the querystrings to seperate out the parameters were converted to HTML safe ‘&’. I’ve put the edited versions below that work in version 2.5.1.

    New Window/tab:
    javascript:function A(b){return (encodeURIComponent)?encodeURIComponent(b):escape(b);}Q='';if(window.getSelection){Q=window.getSelection();}else if (document.getSelection){Q=document.getSelection()}else if(document.selection){Q=document.selection.createRange().text;}void(window.open('http://site-url/wp-admin/post-new.php?text='+A(Q)+'&popupurl='+A(location.href)+'&popuptitle='+A(document.title)));

    One which works in the current window:
    javascript:function A(b){return (encodeURIComponent)?encodeURIComponent(b):escape(b);}Q='';if(window.getSelection){Q=window.getSelection();}else if (document.getSelection){Q=document.getSelection()}else if(document.selection){Q=document.selection.createRange().text;}location.href='http://site-url/wp-admin/post-new.php?text='+A(Q)+'&popupurl='+A(location.href)+'&popuptitle='+A(document.title);

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can’t find the bookmarklet in 2.5’ is closed to new replies.