\r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n


\r\nTo put it in another window, use something along the lines of this:
\r\nfunction search()\r\n{\r\n\tq=document.form.q.value;\r\n\tif(q) window.open(\"http://www.google.com/search?q=\"+escape(q), \"GSearch1\", \"width=400, height=300, location=yes, menubar=yes, status=yes, \r\n\r\ntoolbar=yes, scrollbars=yes, resizable=yes\")\r\n}\r\n

All these are coded for IE because that's what I have at work.
You seemed to have a function so I guess you were doing something more complicated and I guess the parsing of frames was to find the address bar or something? Not sure about the document structure of what you were doing but what I have here works so if you take that URL and use the window.open, you should be ok. You'll need to take out the IE specific features (the parameter list that comes third in window.open's arguments) but they should default ok in saner browsers.
\r\n\r\n
\r\nThis uses text selection and might work as a nodelet...I don't have the nodelet capacity (127 characters required) to check it but since e2 doesn't seem to use frames at all, it should be ok.
I'll look into bookmarklets later if nobody gives me work to do (unlikely).

\r\n\r\n\r\n\r\n\r\n

\r\nHERE IT IS

\r\njavascript:Qr=document.getSelection();if(!Qr){alert('Please highlight text on this page to use this function');};if(Qr){w=window.open('http://www.google.com/search?q=%22'+Qr+'%22','Google','width=800,height=600,top=0,left=0,scrollbars=yes,resizable=yes,modal=no,location=yes');w.focus();}\r\n
\r\n


\r\nThis works in IE - BP (who wishes he could have Opera at work but there you go).
\r\n
\r\njavascript:window.open(\"http://www.google.com/search?q=\"+escape(document.selection.createRange().text),\"G\",\"\");void 0\r\n

\r\n\r\nThis wotks in Mozilla, but barfs in IE:\r\n

\r\njavascript:Qr=document.getSelection();if(!Qr){alert('Please highlight text on this page to use this function');};if(Qr){w=window.open('http://www.google.com/search?q=%22'+Qr+'%22','Googled','width=800,height=600,top=0,left=0,scrollbars=yes,resizable=yes,modal=no,location=yes');window.focus();}"},"is_locked":0,"is_public":0,"can_access":0,"user":{"is_guest":1,"is_admin":0,"node_id":"779713","is_editor":0,"title":"Guest User"},"lockedby":null,"is_locked_by_me":0},"title":"wertperch perches","chatterbox":{"showMessagesInChatterbox":1,"miniMessages":[],"messages":[],"roomName":"outside","roomTopic":"Massive site change may have surfaced various issues. See: [root log: mid-December 2025: Writeup display overhaul], and report any problems. - Publication problems fixed. Thank you -[jaybonci|jb]"},"coolnodes":[{"coolwriteups_id":2213472,"writeupCooled":1,"wu_author":"Glowing Fish","parentNode":2213471,"latest_cool":"2026-03-14 16:05:26","parentTitle":"Martin Bot"},{"parentNode":2213474,"writeupCooled":1,"wu_author":"Swift","coolwriteups_id":2213473,"parentTitle":"We Own the Skies","latest_cool":"2026-03-14 16:04:31"},{"coolwriteups_id":1283204,"latest_cool":"2026-03-14 06:32:03","parentTitle":"Bahasa Melayu","wu_author":"surturz","writeupCooled":3,"parentNode":1283173},{"parentTitle":"Portland, Oregon and the Missing Oak Savannah","latest_cool":"2026-03-13 07:16:48","parentNode":1909146,"writeupCooled":6,"wu_author":"Glowing Fish","coolwriteups_id":1909160},{"parentNode":1248900,"writeupCooled":2,"coolwriteups_id":1248901,"wu_author":"e2reneta","parentTitle":"due diligence","latest_cool":"2026-03-12 21:16:00"},{"parentTitle":"YouTube Community Guidelines","latest_cool":"2026-03-12 11:04:42","parentNode":2213465,"writeupCooled":1,"wu_author":"Glowing Fish","coolwriteups_id":2213466},{"latest_cool":"2026-03-12 05:48:23","parentTitle":"Why do we always whisper in the dark?","wu_author":"p03","coolwriteups_id":1461830,"writeupCooled":3,"parentNode":1461106},{"coolwriteups_id":2213441,"wu_author":"lostcauser","writeupCooled":3,"parentNode":2213442,"latest_cool":"2026-03-12 02:52:29","parentTitle":"The Chocolate Room"},{"parentTitle":"No Me Either","latest_cool":"2026-03-11 19:12:22","parentNode":2213461,"wu_author":"lostcauser","writeupCooled":1,"coolwriteups_id":2213460},{"latest_cool":"2026-03-11 07:20:18","parentTitle":"The Raven (The Edgar Allan Porn version)","coolwriteups_id":1407014,"wu_author":"Footprints","writeupCooled":30,"parentNode":1407002},{"parentNode":123905,"writeupCooled":1,"wu_author":"giantfish","coolwriteups_id":1309394,"parentTitle":"Hammurabi","latest_cool":"2026-03-11 06:34:00"},{"latest_cool":"2026-03-11 03:04:44","parentTitle":"The Fall of the Towers","wu_author":"Glowing Fish","writeupCooled":1,"coolwriteups_id":2213459,"parentNode":1679687},{"wu_author":"Swift","coolwriteups_id":2213454,"writeupCooled":1,"parentNode":2213455,"latest_cool":"2026-03-10 17:38:41","parentTitle":"Hello, Thinker"},{"parentNode":2213449,"writeupCooled":2,"wu_author":"lostcauser","coolwriteups_id":2213448,"parentTitle":"A Hornet's Nest in the Back of a Barn","latest_cool":"2026-03-10 17:36:37"},{"parentNode":2208060,"wu_author":"etouffee","writeupCooled":1,"coolwriteups_id":2208061,"parentTitle":"From some far memory","latest_cool":"2026-03-10 16:14:19"},{"parentNode":14771,"writeupCooled":6,"coolwriteups_id":1034568,"wu_author":"QXZ","parentTitle":"Mountain Dew","latest_cool":"2026-03-10 07:31:17"},{"latest_cool":"2026-03-10 03:05:22","parentTitle":"Vegan Mayo","wu_author":"Tem42","writeupCooled":1,"parentNode":2185609,"coolwriteups_id":2185610},{"parentTitle":"No Smoking","latest_cool":"2026-03-09 23:26:32","parentNode":579509,"writeupCooled":1,"coolwriteups_id":2212232,"wu_author":"cruxfau"},{"coolwriteups_id":2098687,"parentTitle":"Pharmacology and the NOC","latest_cool":"2026-03-09 18:24:51","parentNode":2098686,"writeupCooled":3,"wu_author":"Auspice"},{"parentTitle":"Limit all games to one frame per second","latest_cool":"2026-03-09 18:06:32","parentNode":852093,"wu_author":"fondue","writeupCooled":2,"coolwriteups_id":852103},{"latest_cool":"2026-03-09 17:28:56","parentTitle":"Numbers Station","wu_author":"Uberfetus","writeupCooled":8,"parentNode":575979,"coolwriteups_id":838131},{"parentTitle":"Chocolat","latest_cool":"2026-03-09 17:27:41","parentNode":906951,"wu_author":"EnochRoot","coolwriteups_id":1977164,"writeupCooled":3},{"parentNode":2213389,"coolwriteups_id":2213390,"writeupCooled":4,"wu_author":"mauler","parentTitle":"buycott","latest_cool":"2026-03-09 10:49:32"},{"coolwriteups_id":2213427,"parentNode":2213432,"wu_author":"Pandeism Fish","writeupCooled":1,"parentTitle":"World and Life Views, Emerging From Religion, Philosophy and Perception of Nature","latest_cool":"2026-03-08 07:50:39"},{"latest_cool":"2026-03-08 07:49:24","parentTitle":"Joseph Ducreux","wu_author":"Jet-Poop","writeupCooled":3,"coolwriteups_id":2213433,"parentNode":2023993},{"parentNode":42755,"writeupCooled":2,"wu_author":"r4v5","coolwriteups_id":910494,"parentTitle":"Mandelbrot set","latest_cool":"2026-03-08 01:05:00"},{"writeupCooled":10,"coolwriteups_id":1145567,"wu_author":"tandex","parentNode":1145537,"latest_cool":"2026-03-07 17:23:50","parentTitle":"Tunnel in the Key of G"},{"latest_cool":"2026-03-07 13:14:13","parentTitle":"Maui","wu_author":"Pandeism Fish","coolwriteups_id":2213436,"writeupCooled":1,"parentNode":12024},{"parentTitle":"Paradise","latest_cool":"2026-03-07 03:34:22","parentNode":25493,"coolwriteups_id":2213429,"writeupCooled":1,"wu_author":"Glowing Fish"},{"coolwriteups_id":880706,"parentTitle":"Marie Antoinette","latest_cool":"2026-03-07 02:57:53","parentNode":138165,"wu_author":"Evil Catullus","writeupCooled":5}],"newWriteups":[{"notnew":false,"writeuptype":"person","node_id":"2213472","author":{"title":"Glowing Fish","node_id":977360,"type":"user"},"parent":{"node_id":2213471,"title":"Martin Bot","type":"e2node"},"title":"Martin Bot (person)","is_log":false,"is_junk":false},{"node_id":"2213473","notnew":false,"writeuptype":"fiction","title":"We Own the Skies (fiction)","is_junk":false,"is_log":false,"parent":{"title":"We Own the Skies","node_id":2213474,"type":"e2node"},"author":{"title":"Swift","node_id":1251226,"type":"user"}},{"node_id":"2213466","notnew":false,"writeuptype":"thing","is_junk":false,"title":"YouTube Community Guidelines (thing)","is_log":false,"author":{"type":"user","title":"Glowing Fish","node_id":977360},"parent":{"title":"YouTube Community Guidelines","node_id":2213465,"type":"e2node"}},{"author":{"node_id":1992599,"title":"lostcauser","type":"user"},"parent":{"node_id":2213461,"title":"No Me Either","type":"e2node"},"is_junk":false,"is_log":false,"title":"No Me Either (poetry)","writeuptype":"poetry","notnew":false,"node_id":"2213460"},{"is_log":false,"is_junk":false,"title":"The Fall of the Towers (review)","author":{"type":"user","title":"Glowing Fish","node_id":977360},"parent":{"title":"The Fall of the Towers","node_id":1679687,"type":"e2node"},"node_id":"2213459","writeuptype":"review","notnew":false},{"node_id":"2213454","notnew":false,"writeuptype":"fiction","is_log":false,"is_junk":false,"title":"Hello, Thinker (fiction)","parent":{"type":"e2node","node_id":2213455,"title":"Hello, Thinker"},"author":{"type":"user","node_id":1251226,"title":"Swift"}},{"parent":{"type":"e2node","title":"A Hornet's Nest in the Back of a Barn","node_id":2213449},"author":{"type":"user","node_id":1992599,"title":"lostcauser"},"is_junk":false,"is_log":false,"title":"A Hornet's Nest in the Back of a Barn (poetry)","notnew":false,"writeuptype":"poetry","node_id":"2213448"},{"node_id":"2208061","notnew":false,"writeuptype":"thing","is_junk":false,"title":"From some far memory (thing)","is_log":false,"author":{"node_id":1153472,"title":"etouffee","type":"user"},"parent":{"type":"e2node","title":"From some far memory","node_id":2208060}},{"writeuptype":"poetry","notnew":false,"node_id":"2213441","parent":{"node_id":2213442,"title":"The Chocolate Room","type":"e2node"},"author":{"title":"lostcauser","node_id":1992599,"type":"user"},"title":"The Chocolate Room (poetry)","is_junk":false,"is_log":false},{"notnew":false,"writeuptype":"fiction","node_id":"2213438","parent":{"type":"e2node","node_id":2213439,"title":"Dick Kickem Lifts the Gay Way"},"author":{"title":"Swift","node_id":1251226,"type":"user"},"title":"Dick Kickem Lifts the Gay Way (fiction)","is_junk":false,"is_log":false},{"writeuptype":"thing","notnew":false,"node_id":"2213436","parent":{"title":"Maui","node_id":12024,"type":"e2node"},"author":{"title":"Pandeism Fish","node_id":1902455,"type":"user"},"title":"Maui (thing)","is_log":false,"is_junk":false},{"writeuptype":"thing","notnew":false,"node_id":"2213435","author":{"type":"user","title":"raincomplex","node_id":1797883},"parent":{"type":"e2node","title":"mirzabeig dynamical system","node_id":2213434},"title":"mirzabeig dynamical system (thing)","is_junk":false,"is_log":false},{"node_id":"2213433","notnew":false,"writeuptype":"person","is_junk":false,"is_log":false,"title":"Joseph Ducreux (person)","author":{"title":"Jet-Poop","node_id":6339,"type":"user"},"parent":{"title":"Joseph Ducreux","node_id":2023993,"type":"e2node"}},{"parent":{"node_id":2213432,"title":"World and Life Views, Emerging From Religion, Philosophy and Perception of Nature","type":"e2node"},"author":{"type":"user","node_id":1902455,"title":"Pandeism Fish"},"is_log":false,"title":"World and Life Views, Emerging From Religion, Philosophy and Perception of Nature (thing)","is_junk":false,"notnew":false,"writeuptype":"thing","node_id":"2213427"},{"node_id":"2213429","writeuptype":"review","notnew":false,"is_log":false,"title":"Paradise (review)","is_junk":false,"author":{"type":"user","title":"Glowing Fish","node_id":977360},"parent":{"type":"e2node","title":"Paradise","node_id":25493}},{"writeuptype":"poetry","notnew":false,"node_id":"2213422","author":{"title":"Oolong","node_id":1017738,"type":"user"},"parent":{"type":"e2node","node_id":35250,"title":"Long Hair"},"title":"Long Hair (poetry)","is_log":false,"is_junk":false},{"author":{"type":"user","title":"etouffee","node_id":1153472},"parent":{"type":"e2node","node_id":2213393,"title":"knowing many, loving none"},"title":"knowing many, loving none (poetry)","is_log":false,"is_junk":false,"writeuptype":"poetry","notnew":false,"node_id":"2213395"},{"notnew":false,"writeuptype":"thing","node_id":"2213418","author":{"type":"user","node_id":2212534,"title":"Finky"},"parent":{"title":"Ball's Pyramid","node_id":2197262,"type":"e2node"},"title":"Ball's Pyramid (thing)","is_junk":false,"is_log":false},{"parent":{"type":"e2node","title":"I Will Kill Your Imaginary Friend for $200","node_id":2213415},"author":{"node_id":977360,"title":"Glowing Fish","type":"user"},"title":"I Will Kill Your Imaginary Friend for $200 (review)","is_junk":false,"is_log":false,"notnew":false,"writeuptype":"review","node_id":"2213416"},{"node_id":"2213360","writeuptype":"thing","notnew":false,"title":"The Pandeism Anthology Project goes to war with Amazon.com (thing)","is_log":false,"is_junk":false,"parent":{"type":"e2node","node_id":2213409,"title":"The Pandeism Anthology Project goes to war with Amazon.com"},"author":{"node_id":1902455,"title":"Pandeism Fish","type":"user"}},{"author":{"title":"JD","node_id":1455010,"type":"user"},"parent":{"title":"February 28, 2026","node_id":2213405,"type":"e2node"},"is_log":true,"title":"February 28, 2026 (thing)","is_junk":false,"notnew":false,"writeuptype":"thing","node_id":"2213408"},{"writeuptype":"personal","notnew":false,"node_id":"2213406","parent":{"title":"old excerpt from my grandpas emails to his brothers","node_id":2213407,"type":"e2node"},"author":{"type":"user","title":"lilah june","node_id":2201248},"is_junk":false,"is_log":false,"title":"old excerpt from my grandpas emails to his brothers (personal)"},{"parent":{"title":"The Leaves Don't Know What November Is","node_id":2213403,"type":"e2node"},"author":{"node_id":1992599,"title":"lostcauser","type":"user"},"is_junk":false,"title":"The Leaves Don't Know What November Is (poetry)","is_log":false,"writeuptype":"poetry","notnew":false,"node_id":"2213402"},{"node_id":"2213399","notnew":false,"writeuptype":"fiction","is_log":false,"is_junk":false,"title":"Marlene Remembers, Marlene Laughs (fiction)","parent":{"type":"e2node","title":"Marlene Remembers, Marlene Laughs","node_id":2213400},"author":{"node_id":1992599,"title":"lostcauser","type":"user"}},{"writeuptype":"definition","notnew":false,"node_id":"2213398","parent":{"type":"e2node","node_id":1991895,"title":"Paper Towns"},"author":{"type":"user","node_id":2212534,"title":"Finky"},"is_log":false,"title":"Paper Towns (definition)","is_junk":false},{"is_junk":false,"is_log":false,"title":"buycott (idea)","parent":{"type":"e2node","title":"buycott","node_id":2213389},"author":{"type":"user","title":"mauler","node_id":1180811},"node_id":"2213390","writeuptype":"idea","notnew":false},{"notnew":false,"writeuptype":"fiction","node_id":"2213383","parent":{"type":"e2node","title":"Fill in the Blanks","node_id":2213384},"author":{"type":"user","node_id":1992599,"title":"lostcauser"},"title":"Fill in the Blanks (fiction)","is_junk":false,"is_log":false},{"node_id":"2213378","writeuptype":"personal","notnew":false,"is_log":false,"title":"Like stars, blazing beacons of light in the emptiness of space (personal)","is_junk":false,"parent":{"type":"e2node","node_id":2213382,"title":"Like stars, blazing beacons of light in the emptiness of space"},"author":{"type":"user","title":"relentless","node_id":2049451}},{"parent":{"type":"e2node","node_id":2213381,"title":"Electro Convulsive Treatment"},"author":{"node_id":1132040,"title":"O-Swirl","type":"user"},"is_log":false,"title":"Electro Convulsive Treatment (thing)","is_junk":false,"writeuptype":"thing","notnew":false,"node_id":"2213379"},{"title":"Boys Will Lie (poetry)","is_junk":false,"is_log":false,"parent":{"node_id":2213374,"title":"Boys Will Lie","type":"e2node"},"author":{"type":"user","title":"lostcauser","node_id":1992599},"node_id":"2213375","notnew":false,"writeuptype":"poetry"},{"node_id":"2213369","notnew":false,"writeuptype":"personal","is_log":false,"is_junk":false,"title":"An Old Coffee Can and a Libbyland Dinner (personal)","author":{"title":"lostcauser","node_id":1992599,"type":"user"},"parent":{"title":"An Old Coffee Can and a Libbyland Dinner","node_id":2213370,"type":"e2node"}},{"author":{"title":"passalidae","node_id":2178478,"type":"user"},"parent":{"title":"February 21, 2026","node_id":2213362,"type":"e2node"},"title":"February 21, 2026 (log)","is_junk":false,"is_log":true,"notnew":false,"writeuptype":"log","node_id":"2213364"},{"parent":{"node_id":2213358,"title":"I Would Like To Be Only a Bright Red Coat","type":"e2node"},"author":{"node_id":1992599,"title":"lostcauser","type":"user"},"is_log":false,"is_junk":false,"title":"I Would Like To Be Only a Bright Red Coat (poetry)","notnew":false,"writeuptype":"poetry","node_id":"2213357"},{"author":{"node_id":1708694,"title":"Hazelnut","type":"user"},"parent":{"type":"e2node","node_id":2213350,"title":"It always spits before it rains"},"title":"It always spits before it rains (personal)","is_log":false,"is_junk":false,"writeuptype":"personal","notnew":false,"node_id":"2213355"},{"notnew":false,"writeuptype":"opinion","node_id":"2213351","author":{"type":"user","title":"relentless","node_id":2049451},"parent":{"type":"e2node","title":"leetcode","node_id":2213354},"title":"leetcode (opinion)","is_log":false,"is_junk":false},{"parent":{"type":"e2node","title":"Kyawthuite","node_id":2213353},"author":{"title":"Finky","node_id":2212534,"type":"user"},"is_log":false,"is_junk":false,"title":"Kyawthuite (thing)","writeuptype":"thing","notnew":false,"node_id":"2213352"},{"is_log":false,"title":"maybe i'll be mauled (log)","is_junk":false,"parent":{"title":"maybe i'll be mauled","node_id":2213349,"type":"e2node"},"author":{"type":"user","title":"lilah june","node_id":2201248},"node_id":"2213259","notnew":false,"writeuptype":"log"},{"author":{"node_id":1992599,"title":"lostcauser","type":"user"},"parent":{"type":"e2node","node_id":2213346,"title":"Better the Bones of the Lions You Know"},"title":"Better the Bones of the Lions You Know (fiction)","is_log":false,"is_junk":false,"writeuptype":"fiction","notnew":false,"node_id":"2213347"},{"is_log":false,"title":"Most Businesspeople Spend Time Doing Business: Explaining the Great AI Productivity Mirage (idea)","is_junk":false,"author":{"title":"Glowing Fish","node_id":977360,"type":"user"},"parent":{"type":"e2node","title":"Most Businesspeople Spend Time Doing Business: Explaining the Great AI Productivity Mirage","node_id":2213342},"node_id":"2213343","writeuptype":"idea","notnew":false}],"use_local_assets":"0","guest":1,"lastCommit":"12f701fc1c860c10ddd3467bb16b07723732e55f","assets_location":"https://s3-us-west-2.amazonaws.com/deployed.everything2.com/12f701fc1c860c10ddd3467bb16b07723732e55f","lastnode_id":null,"reactPageMode":true,"display_prefs":{"edn_hideutil":0,"nw_nojunk":false,"rtn_hideedc":0,"vit_hidemisc":0,"vit_hidenodeutil":0,"vit_hidemaintenance":0,"vit_hidelist":0,"num_newwus":"10","vit_hidenodeinfo":0,"rtn_hidenws":0,"edn_hideedev":0,"rtn_hidecwu":0},"nodeletorder":["sign_in","recommended_reading","new_writeups"],"user":{"guest":true,"in_room":"0","node_id":"779713","admin":false,"editor":false,"developer":true,"chanop":false,"title":"Guest User"},"developerNodelet":{},"nodetype":"collaboration","pageheader":{},"recaptcha":{"enabled":true,"publicKey":"6LeF2BwsAAAAAMrkwFG7CXJmF6p0hV2swBxYfqc2"}}