Hi Rick,
What exactly are you trying to accomplish? Do you want the search buttons in the preview to launch bookmarklets that affect the preview page? Do you want to perform javascript functions on the selected text in the main page?
Currently the code takes your custom javascript and puts it as the url of the preview IFRAME. For me, if I set one of m button's url to:
javascript:alert("XXX{0}");void(0); (NOTE: {0} to substitute text, closed the ", semicolon at end, parentheses around 0)
When I click the button I do get the alert box.
I do not prepend any domain info in the ezLinkPreview code, chrome must be doing this for you. Make sure you have well formed javascript and you are running the stable release of chrome.
Please provide me with more details so I can help you out.
Erik