I am trying to make a bookmarklet that opens a popup window. Inside this window is a list of CSS classes that once selected, highlights that object on window.opener
window.opener
Does the $(document).ready fire if you add the following line before the return false?
$(document).ready
return false
testpopup.document.close();
This is a wild guess though, and I haven't tested this.