Title: wfleck's Replies | WordPress.org

---

# wfleck

  [  ](https://wordpress.org/support/users/wfleck/)

 *   [Profile](https://wordpress.org/support/users/wfleck/)
 *   [Topics Started](https://wordpress.org/support/users/wfleck/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wfleck/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wfleck/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wfleck/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wfleck/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wfleck/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Getting script error when trying to use the bookma](https://wordpress.org/support/topic/getting-script-error-when-trying-to-use-the-bookma/)
 *  [wfleck](https://wordpress.org/support/users/wfleck/)
 * (@wfleck)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/getting-script-error-when-trying-to-use-the-bookma/#post-69645)
 * 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

Viewing 1 replies (of 1 total)