I've made a script for a bookmarklet to open Google Calendar in a toolbarless popup window to save screenspace.
This is what I've got:
Code:
javascript:window.open('http://www.google.com/calendar/render?pli=1','Google Calendar','width=screen.width,height=screen.height,top=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100,left=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100,scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes')
However, after clicking on it (the popup window works fine), the active tab/window changes to a page with address of the javascript and content "[object Window]". I know its possible to stop it doing this with something like but it seems to stop the script from running.
Anyone have any ideas?
Thanks
Bookmarks