REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Post To &WP : SharkyTM.com- Welcome!]
@=”javascript:doc=external.menuArguments.document;Q=doc.selection.createRange().text;void(btw=window.open(‘http://sharkytm.com/wp-admin/bookmarklet.php?text=’+escape(Q)+’&trackback=1&pingback=1&popupurl=’+escape(doc.location.href)+’&popuptitle=’+escape(doc.title),’bookmarklet’,’scrollbars=no,width=480,height=590,left=100,top=150,status=yes’));btw.focus();”
“contexts”=hex:31”
thats mine… i know, IE sucks, but i have a university program thats only compatible with IE :).
For me it didn’t work either, but I found a solution that works. First I had to put the javascript code in a file, putting it in the registry didn’t work. Second I had to change the code because doc.location.href gave me an error. So my registry entry is
@=C:\Dokumente und Einstellungen\wfleck\WordPress\PostToWP.htm
The content of PostToWP.htm is
<SCRIPT LANGUAGE="JavaScript" defer>
args=external.menuArguments;
void(btw=window.open('http://XXX/wp-admin/bookmarklet.php?text='+escape(args.document.selection.createRange().text)+'&trackback=1&pingback=1&popupurl='+escape(args.location.href)+'&popuptitle='+escape(args.document.title),'bookmarklet','scrollbars=no,width=480,height=590,left=100,top=150,status=yes'));
btw.focus();
</SCRIPT>
Insert your WordPress URL for XXX.
Werner