¿Cómo obtener una referencia a una ventana emergente en IE?

Tus preguntas. Algoritmos o Grupos de Comandos formando Programas Escripts.
Responder
Mithrandir
Mensajes: 27
Registrado: 01 Jun 2009, 02:41

¿Cómo obtener una referencia a una ventana emergente en IE?

Mensaje por Mithrandir »

Buenas, estoy viendo de hacer un script que seleccione todos los amigos de facebook para sugerirles una página. Con la ayuda de IETab obtuve el código de la ventana que aparece al clickear en "sugerir a amigos":

Código: Seleccionar todo

<DIV class="pop_content pop_content_old" id=pop_content><H2 class=dialog_title><SPAN>Suggest Squidward deserves more likes than Paul the Octopus!! to friends.</SPAN></H2>
<DIV class=dialog_content>
<DIV class=dialog_body>
<DIV class="resetstyles num_cols_3" id=fb_multi_friend_selector>
<DIV class=clearfix id=fb_multi_friend_selector_wrapper>
<DIV id=fb_mfs_container>
<H2></H2>
<DIV id=fb_mfs_body>
<H3>Your friends will receive a suggestion from you to like this Page.</H3>
<DIV id=finder>
<TABLE width="100%">
<TBODY>
<TR>
<TD class="  " id=finder_friend_typeahead><LABEL>Find Friends:</LABEL><INPUT class="inputtext   DOMControl_placeholder" id=mfs_typeahead_sgm_invite_form title="Start Typing a Name" size=42 value="Start Typing a Name" name=mfs_typeahead_sgm_invite_form autocomplete="off" placeholder="Start Typing a Name"></TD></TR></TBODY></TABLE></DIV>
<DIV class="filters clearfix" id=filters>
<DIV class=view_on id=view_all><A id=view_all_link><SPAN class=link_container>Filter Friends</SPAN></A>
<DIV class="dropdown_menu hidden_elem link_menu_list" id=fs_dropdown>
<DIV class=dropdown_menu_header_shadow>
<DIV class=menu_content>
<DIV class=menu_separator></DIV>
<DIV class=menu_section_title>Networks</DIV>
<UL>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(50432655, "United S...");'>United S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777300, "Texas A&M");'>Texas A&M</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777343, "South Ca...");'>South Ca...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777484, "Wisconsi...");'>Wisconsi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777684, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778181, "TAMU Com...");'>TAMU Com...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581719, "Creekvie...");'>Creekvie...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777472, "VCU");'>VCU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567232, "East Lym...");'>East Lym...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777303, "Wisconsin");'>Wisconsin</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16780307, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777604, "SFASU");'>SFASU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777787, "UCM");'>UCM</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777450, "Kent State");'>Kent State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777715, "Alfred");'>Alfred</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583749, "Kelso Hi...");'>Kelso Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581720, "Newman S...");'>Newman S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582847, "Grapevin...");'>Grapevin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779150, "BYU - ID");'>BYU - ID</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777335, "N.C. State");'>N.C. State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570606, "Basehor ...");'>Basehor ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582444, "Round Ro...");'>Round Ro...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777400, "TCU");'>TCU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777305, "Rutgers");'>Rutgers</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779163, "Collin C...");'>Collin C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584438, "Pius XI");'>Pius XI</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777240, "Michigan...");'>Michigan...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573159, "Plainwel...");'>Plainwel...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777513, "Texas St...");'>Texas St...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777601, "MTSU");'>MTSU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777471, "Texas Sa...");'>Texas Sa...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777296, "Texas");'>Texas</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569022, "Cary-Gro...");'>Cary-Gro...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33612209, "Sparwood...");'>Sparwood...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33585810, "Regina H...");'>Regina H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779374, "Rocheste...");'>Rocheste...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582795, "McKinney...");'>McKinney...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572419, "Randolph...");'>Randolph...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578538, "Brush Hi...");'>Brush Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566999, "Greeley ...");'>Greeley ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33579132, "Silo Hig...");'>Silo Hig...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33585649, "Correlie...");'>Correlie...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584612, "Newman H...");'>Newman H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777872, "Fort Lewis");'>Fort Lewis</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581605, "Lamar Hi...");'>Lamar Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777521, "W. Illin...");'>W. Illin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565849, "Damien H...");'>Damien H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33580360, "Valley F...");'>Valley F...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578675, "Padua Fr...");'>Padua Fr...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778708, "Eastern ...");'>Eastern ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777272, "Syracuse");'>Syracuse</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777525, "N. Illin...");'>N. Illin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583834, "Eastlake...");'>Eastlake...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576118, "Charles ...");'>Charles ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568023, "The Nort...");'>The Nort...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567816, "Miami Be...");'>Miami Be...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778058, "SUNY Suf...");'>SUNY Suf...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582419, "Richards...");'>Richards...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567769, "Melbourn...");'>Melbourn...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568058, "Dr. Mich...");'>Dr. Mich...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578548, "St. Pete...");'>St. Pete...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573301, "Wayland ...");'>Wayland ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777392, "Renssela...");'>Renssela...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777547, "GA South...");'>GA South...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778563, "Anna Maria");'>Anna Maria</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33587172, "McKinney...");'>McKinney...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33580947, "Richard ...");'>Richard ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578237, "Colerain...");'>Colerain...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779653, "FH Karls...");'>FH Karls...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777980, "St. Ambr...");'>St. Ambr...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582643, "Waller H...");'>Waller H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777829, "Durham");'>Durham</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777641, "JWU Prov...");'>JWU Prov...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578545, "Mansfiel...");'>Mansfiel...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777251, "USC");'>USC</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777656, "CUNY Que...");'>CUNY Que...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16828490, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33608694, "T.H. Wil...");'>T.H. Wil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565409, "Springda...");'>Springda...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33580199, "Bishop C...");'>Bishop C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573564, "Evansvil...");'>Evansvil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777257, "Amherst");'>Amherst</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778445, "Utah State");'>Utah State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581399, "Hume Fog...");'>Hume Fog...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575498, "Franklin...");'>Franklin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578298, "St. Igna...");'>St. Igna...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16833415, "San Beda...");'>San Beda...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573467, "Jefferso...");'>Jefferso...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583938, "Mountain...");'>Mountain...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575718, "Morris H...");'>Morris H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777850, "Texas El...");'>Texas El...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777597, "Salisbury");'>Salisbury</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778041, "JCCC");'>JCCC</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779225, "Rock Val...");'>Rock Val...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33579938, "Lower Mo...");'>Lower Mo...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33580275, "Sayre Ar...");'>Sayre Ar...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572230, "Blue Hil...");'>Blue Hil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777600, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567168, "Cherry C...");'>Cherry C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16830955, "Cairo Un...");'>Cairo Un...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576643, "Longwood...");'>Longwood...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567219, "Henry Ab...");'>Henry Ab...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566552, "Windward");'>Windward</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16780507, "Kennebec...");'>Kennebec...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582129, "Huntsvil...");'>Huntsvil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575310, "Goffstow...");'>Goffstow...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16829361, "Misr Uni...");'>Misr Uni...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777345, "Georgia ...");'>Georgia ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777308, "UMass (A...");'>UMass (A...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777313, "Oklahoma");'>Oklahoma</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583190, "Altavist...");'>Altavist...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583352, "Manchest...");'>Manchest...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569841, "Canterbu...");'>Canterbu...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567842, "Nicevill...");'>Nicevill...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582734, "Ronald R...");'>Ronald R...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570295, "North Sc...");'>North Sc...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33579263, "Okarche ...");'>Okarche ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778607, "CA Baptist");'>CA Baptist</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575461, "Delran H...");'>Delran H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565275, "Greenwoo...");'>Greenwoo...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582405, "Queen Ci...");'>Queen Ci...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777939, "MSCD");'>MSCD</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777565, "Ramapo");'>Ramapo</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568334, "Lumpkin ...");'>Lumpkin ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33606268, "Renmark ...");'>Renmark ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565646, "Cupertin...");'>Cupertin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33574724, "Fort Zum...");'>Fort Zum...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777384, "Texas Tech");'>Texas Tech</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571540, "Shongalo...");'>Shongalo...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777699, "E. Kentu...");'>E. Kentu...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572514, "Mount Gr...");'>Mount Gr...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778856, "MN State");'>MN State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576556, "Jamestow...");'>Jamestow...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777988, "Lawrence...");'>Lawrence...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777878, "N.C. Cen...");'>N.C. Cen...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777279, "Virginia...");'>Virginia...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778741, "Greenvil...");'>Greenvil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571799, "Skowhega...");'>Skowhega...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572201, "Billeric...");'>Billeric...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16780073, "Uni. Her...");'>Uni. Her...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779239, "SUNY Mor...");'>SUNY Mor...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778606, "Advancin...");'>Advancin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778424, "Colorado...");'>Colorado...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572088, "La Plata...");'>La Plata...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33688214, "PLK Ma K...");'>PLK Ma K...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581169, "Crockett...");'>Crockett...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33564537, "Elmore C...");'>Elmore C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568711, "Mill Cre...");'>Mill Cre...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778743, "Hardin-S...");'>Hardin-S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777920, "Arkansas...");'>Arkansas...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16948660, "Arkansas...");'>Arkansas...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33574518, "Owensvil...");'>Owensvil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567018, "Weld Cen...");'>Weld Cen...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778632, "Central ...");'>Central ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16833594, "Indonesi...");'>Indonesi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777703, "Columbia...");'>Columbia...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565029, "Mountain...");'>Mountain...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778994, "Southwes...");'>Southwes...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572435, "Somerset...");'>Somerset...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33577640, "North Me...");'>North Me...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582741, "Klein Co...");'>Klein Co...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778306, "Ashford ...");'>Ashford ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33611051, "Dormers ...");'>Dormers ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(50440248, "BayCare ...");'>BayCare ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33587279, "Saginaw ...");'>Saginaw ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16832383, "Vellore ...");'>Vellore ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570079, "Western ...");'>Western ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16832887, "London C...");'>London C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779177, "Dallas C...");'>Dallas C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573523, "Chosen V...");'>Chosen V...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777386, "Iowa State");'>Iowa State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575161, "Wayne Hi...");'>Wayne Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33610277, "Morley S...");'>Morley S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573043, "Dakota H...");'>Dakota H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578481, "Johnstow...");'>Johnstow...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33604752, "Norwich ...");'>Norwich ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572974, "Hudsonvi...");'>Hudsonvi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33608482, "Sentraal...");'>Sentraal...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568370, "Creeksid...");'>Creeksid...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777766, "NJIT");'>NJIT</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777744, "TN Tech");'>TN Tech</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570266, "North Hi...");'>North Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777687, "Niagara ...");'>Niagara ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16780304, "KwaZulu-...");'>KwaZulu-...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33585601, "Meadowri...");'>Meadowri...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33580240, "Pottsvil...");'>Pottsvil...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777784, "UT Chatt...");'>UT Chatt...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33577299, "Penfield...");'>Penfield...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777505, "Monmouth");'>Monmouth</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570475, "Sigourne...");'>Sigourne...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777269, "FSU");'>FSU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569736, "Guerin P...");'>Guerin P...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572203, "Blacksto...");'>Blacksto...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569029, "Charlest...");'>Charlest...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16833206, "National...");'>National...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777456, "North Te...");'>North Te...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777443, "Georgia ...");'>Georgia ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777287, "Auburn");'>Auburn</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583202, "Patrick ...");'>Patrick ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566446, "Upland H...");'>Upland H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576146, "Chenango...");'>Chenango...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572327, "Lenox Me...");'>Lenox Me...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777622, "UNC Wilm...");'>UNC Wilm...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584326, "Southwes...");'>Southwes...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777909, "Wisc Whi...");'>Wisc Whi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777431, "Cincinnati");'>Cincinnati</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581492, "Nashvill...");'>Nashvill...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33679867, "Sands Na...");'>Sands Na...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778232, "Academy ...");'>Academy ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777927, "Harding");'>Harding</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582736, "Hebron H...");'>Hebron H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582458, "Alamo He...");'>Alamo He...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571969, "Southern...");'>Southern...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16780239, "MVCC");'>MVCC</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777452, "Montana");'>Montana</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572345, "Mansfiel...");'>Mansfiel...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33607237, "Beal Hig...");'>Beal Hig...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777405, "SMU");'>SMU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777824, "Art Inst...");'>Art Inst...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777310, "Penn State");'>Penn State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33577393, "Central ...");'>Central ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578513, "Lexingto...");'>Lexingto...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777222, "Dartmouth");'>Dartmouth</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575605, "Middleto...");'>Middleto...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567563, "Bellevie...");'>Bellevie...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16828061, "Cyprus I...");'>Cyprus I...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570944, "Olathe S...");'>Olathe S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584405, "Marshfie...");'>Marshfie...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573354, "Black Ri...");'>Black Ri...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578908, "Lakota E...");'>Lakota E...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565209, "Bentonvi...");'>Bentonvi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570932, "Blue Val...");'>Blue Val...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33586074, "Markvill...");'>Markvill...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777848, "Gainesvi...");'>Gainesvi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16829302, "TC3");'>TC3</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778845, "MidAmeri...");'>MidAmeri...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777653, "E. Strou...");'>E. Strou...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777758, "Angelo S...");'>Angelo S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581670, "Boerne H...");'>Boerne H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572255, "Boston L...");'>Boston L...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584693, "D.C. Eve...");'>D.C. Eve...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777543, "Keene St...");'>Keene St...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777592, "U. Houston");'>U. Houston</A></LI>
(El código sigue en el próximo post porque es muy largo)

Ahora, el problema es que en el código fuente este código no aparece hasta no clickear en "sugerir a amigos" y si con autoit hago click y luego actualizo la página se va la ventana de invitar amigos. Pero si no actualizo la página, ¿Se actualiza el DOM? ¿Cómo obtengo una referencia a esta ventana para poder trabajar con ella?

Otro problema es clickear el "link" de invitar amigos ya que este es su código:

Código: Seleccionar todo

<A class="profile_action actionspro_a" href="#" rel=dialog-post ajaxify="/ajax/social_graph/invite_dialog.php?class=FanManager&node_id=144045112274335">Suggest to Friends</A>
Me parece que puedo tratarlo como un link común pero como tiene ajax por ahí :smt005 tal vez no pueda.

Aclaro que no quiero una solución a esto, lo que pasa es que ya de entrada tengo unas cuantas dudas y agradecería si me pueden encaminar mas o menos por donde empezar. ¡Gracias por la ayuda!
Mithrandir
Mensajes: 27
Registrado: 01 Jun 2009, 02:41

Re: ¿Cómo obtener una referencia a una ventana emergente en IE?

Mensaje por Mithrandir »

(continuación del código)

Código: Seleccionar todo

<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578333, "Tree Of ...");'>Tree Of ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575567, "Manchest...");'>Manchest...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578355, "Carroll ...");'>Carroll ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777404, "FIU");'>FIU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573497, "Bethany ...");'>Bethany ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566326, "Terra Li...");'>Terra Li...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570485, "Spencer ...");'>Spencer ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(50431841, "Chubb Gr...");'>Chubb Gr...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777424, "Ball State");'>Ball State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570288, "Eagle Gr...");'>Eagle Gr...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575664, "Bergen C...");'>Bergen C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778429, "Missouri...");'>Missouri...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572175, "Acton- B...");'>Acton- B...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565388, "Prairie ...");'>Prairie ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572061, "Thomas S...");'>Thomas S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777657, "C. Oklah...");'>C. Oklah...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33616781, "Blessed ...");'>Blessed ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568351, "Douglas ...");'>Douglas ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777520, "E. Michi...");'>E. Michi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578510, "Olentang...");'>Olentang...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779300, "Genesee");'>Genesee</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33579925, "Hershey ...");'>Hershey ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569199, "York Com...");'>York Com...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33645842, "Colegio ...");'>Colegio ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573443, "Marquett...");'>Marquett...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33604768, "Egyptian...");'>Egyptian...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779472, "Palomar");'>Palomar</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565648, "Monta Vi...");'>Monta Vi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33639126, "IES de B...");'>IES de B...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571968, "North Ca...");'>North Ca...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578499, "St. Edwa...");'>St. Edwa...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582334, "Richland...");'>Richland...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777274, "Maryland");'>Maryland</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582077, "Eisenhow...");'>Eisenhow...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573877, "Breckenr...");'>Breckenr...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575320, "Keene Hi...");'>Keene Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33574848, "Flathead...");'>Flathead...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16832381, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779327, "Lakeland...");'>Lakeland...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573641, "Orono Se...");'>Orono Se...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777955, "Park");'>Park</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573196, "Romeo Hi...");'>Romeo Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777540, "Indiana ...");'>Indiana ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16780140, "NWTC");'>NWTC</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777373, "George M...");'>George M...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568027, "West Sho...");'>West Sho...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575064, "Norfolk ...");'>Norfolk ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777577, "Ohio Nor...");'>Ohio Nor...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33580723, "Warwick ...");'>Warwick ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777476, "Western ...");'>Western ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569817, "Concord ...");'>Concord ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565720, "Fountain...");'>Fountain...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33649730, "Bracken ...");'>Bracken ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566364, "Prospect...");'>Prospect...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568588, "Darlingt...");'>Darlingt...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571316, "Bunkie H...");'>Bunkie H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569922, "Pike Hig...");'>Pike Hig...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16935340, "Institut...");'>Institut...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777618, "St. Thomas");'>St. Thomas</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779083, "Waynesburg");'>Waynesburg</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777455, "Nevada");'>Nevada</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777302, "Pepperdine");'>Pepperdine</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569771, "Maconaqu...");'>Maconaqu...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777680, "SUNY Pur...");'>SUNY Pur...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777398, "Marist");'>Marist</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33610851, "West For...");'>West For...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583580, "Blue Rid...");'>Blue Rid...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777359, "Pittsburgh");'>Pittsburgh</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777948, "Arkansas...");'>Arkansas...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581642, "Bastrop ...");'>Bastrop ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583106, "Colchest...");'>Colchest...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573194, "Rockford...");'>Rockford...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33568854, "Idaho Fa...");'>Idaho Fa...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777739, "Frostburg");'>Frostburg</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16833305, "Lebanese...");'>Lebanese...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777327, "New Hamp...");'>New Hamp...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33574558, "Rolla Se...");'>Rolla Se...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33564471, "Briarwoo...");'>Briarwoo...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575469, "East Bru...");'>East Bru...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779262, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777522, "CSU Nort...");'>CSU Nort...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570632, "Chanute ...");'>Chanute ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566406, "Fremont ...");'>Fremont ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566322, "San Mate...");'>San Mate...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578563, "William ...");'>William ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33611828, "Ashcroft...");'>Ashcroft...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566317, "San Mari...");'>San Mari...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571632, "C.E.Byrd");'>C.E.Byrd</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33571690, "Morse Hi...");'>Morse Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33566942, "George W...");'>George W...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33570859, "Shawnee ...");'>Shawnee ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33573746, "Rosemoun...");'>Rosemoun...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778151, "CSB-SJU");'>CSB-SJU</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777714, "LA Tech");'>LA Tech</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33585641, "College ...");'>College ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575074, "Central ...");'>Central ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777474, "Wayne St...");'>Wayne St...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777594, "SIU Edwa...");'>SIU Edwa...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578450, "Ross");'>Ross</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33609839, "Visakha ...");'>Visakha ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777460, "Rider");'>Rider</A></LI>
<LI class=composer_dropdown_name><A onclick="fs.network_filter(33568829, "Coeur d'...");">Coeur d'...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575313, "Winnacun...");'>Winnacun...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565862, "Lakewood...");'>Lakewood...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(50453106, "Schlumbe...");'>Schlumbe...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576336, "Shenende...");'>Shenende...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33606531, "Rosary S...");'>Rosary S...</A></LI>
<LI class=composer_dropdown_name><A onclick="fs.network_filter(50459456, "Dreyer's...");">Dreyer's...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777311, "Tennessee");'>Tennessee</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584594, "Big Foot...");'>Big Foot...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569928, "Jasper H...");'>Jasper H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33587300, "Scotch C...");'>Scotch C...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567040, "Chatfiel...");'>Chatfiel...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777568, "Duquesne");'>Duquesne</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777935, "Kirkwood");'>Kirkwood</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33579871, "Ridley H...");'>Ridley H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567869, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33611273, "Winifred...");'>Winifred...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777470, "UT Arlin...");'>UT Arlin...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33587427, "Wylie Hi...");'>Wylie Hi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16779280, "Cincinna...");'>Cincinna...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576603, "Long Bea...");'>Long Bea...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33586637, "Brampton...");'>Brampton...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777679, "Valdosta");'>Valdosta</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575397, "Holy Spi...");'>Holy Spi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581293, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33576580, "Lancaste...");'>Lancaste...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778538, "JWU Char...");'>JWU Char...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777341, "Ohio State");'>Ohio State</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777696, "Universi...");'>Universi...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33575038, "Pius X H...");'>Pius X H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578541, "Sandy Va...");'>Sandy Va...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33578244, "Indian H...");'>Indian H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33620608, "Liceo Co...");'>Liceo Co...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33582998, "American...");'>American...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567587, "Flagler ...");'>Flagler ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33572693, "Bedford ...");'>Bedford ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777669, "Wyoming");'>Wyoming</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16827627, "IUPUC");'>IUPUC</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777247, "Rice");'>Rice</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569794, "Columbus...");'>Columbus...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777268, "UCF");'>UCF</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777360, "Rhode Is...");'>Rhode Is...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33586061, "Regina M...");'>Regina M...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777397, "Stetson");'>Stetson</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33574741, "Eureka S...");'>Eureka S...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33579845, "Emmaus H...");'>Emmaus H...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33577475, "Apex Hig...");'>Apex Hig...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584507, "Port Was...");'>Port Was...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777307, "UConn");'>UConn</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33565944, "Los Gato...");'>Los Gato...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16778298, "Mitchell");'>Mitchell</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33584643, "Appleton...");'>Appleton...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777224, "MIT");'>MIT</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33567042, "Dakota R...");'>Dakota R...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33583326, "Loudoun ...");'>Loudoun ...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777449, "Kennesaw");'>Kennesaw</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777388, "Oklahoma...");'>Oklahoma...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777411, "Macalester");'>Macalester</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33581193, "Smith Co...");'>Smith Co...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(33569613, "Loyola A...");'>Loyola A...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777409, "Colorado...");'>Colorado...</A></LI>
<LI class=composer_dropdown_name><A onclick='fs.network_filter(16777389, "UNL");'>UNL</A></LI></UL></DIV></DIV></DIV></DIV>
<DIV id=max_limit_notice style="DISPLAY: none"></DIV>
<DIV class=sel_filters>
<DIV class="Tabset_tabset clearfix" id="">
<UL class="PillFilter_pillfilter Tabset_tabset">
<LI class="PillFilter_filter   Tabset_selected" id=_view_all><A id=_view_all_anchor onclick='return Tabset.getInstance("").selectTab("_view_all",function() { fs.network_clear(); return false;; }.bind(this),null);' href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#">
<DIV class=tl>
<DIV class=tr>
<DIV class=br>
<DIV class=bl>All</DIV></DIV></DIV></DIV></A></LI>
<LI class="PillFilter_filter " id=_view_selected><A id=_view_selected_anchor onclick="return Tabset.getInstance("").selectTab("_view_selected",function() { fs.view('selected');return false;; }.bind(this),null);" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#">
<DIV class=tl>
<DIV class=tr>
<DIV class=br>
<DIV class=bl>Selected (<STRONG id=view_selected_count>0</STRONG>)</DIV></DIV></DIV></DIV></A></LI></UL></DIV></DIV></DIV>
<DIV id=fb_multi_friend_selector_notice style="DISPLAY: none"></DIV>
<DIV class=clearfix id=fs_current_filter style="DISPLAY: none"></DIV>
<UL id=friends style="HEIGHT: 210px">
<LI class=disabled userid="100000491242156"><A title="-Ann Chung-" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc1/v22941/585/16/q100000491242156_7167.jpg)"><SPAN></SPAN></SPAN><STRONG>-Ann Chung-</STRONG></A></LI>
<LI class=disabled userid="100000474596233"><A title="-'Niko Icp Derla'-" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs321.snc4/41379_100000474596233_9053_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-'Niko Icp Derla'-</STRONG></A></LI>
<LI class=disabled userid="100000904151032"><A title="-Jeremy Febrian" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs624.snc3/27409_100000904151032_9564_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-Jeremy Febrian</STRONG></A></LI>
<LI class=disabled userid="1336455660"><A title="-Rajib Abbas-" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs644.snc3/27404_1336455660_3571_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-Rajib Abbas-</STRONG></A></LI>
<LI class=disabled userid="100001024020026"><A title="-Erica Lee-" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs310.ash1/23253_100001024020026_7970_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-Erica Lee-</STRONG></A></LI>
<LI class=disabled userid="100000682724717"><A title="-Jeremy Febryan" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc1/v22942/1443/104/q100000682724717_6442.jpg)"><SPAN></SPAN></SPAN><STRONG>-Jeremy Febryan</STRONG></A></LI>
<LI class=disabled userid="100000559377679"><A title="-Magnus Lundquist Mattsson" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs260.snc3/23257_100000559377679_1546_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-Magnus Lundquist Mattsson</STRONG></A></LI>
<LI class=disabled userid="100000573084968"><A title="-Rahul Gupta-" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs645.snc3/27425_100000573084968_5041_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-Rahul Gupta-</STRONG></A></LI>
<LI class=disabled userid="100000696496157"><A title="-Yuvi Shergill-" onclick="return false;" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs630.ash1/27514_100000696496157_4438_q.jpg)"><SPAN></SPAN></SPAN><STRONG>-Yuvi Shergill-</STRONG></A></LI></UL>
<UL class=pagerpro id=mfs_pag_nav_links>
<LI class="pagerpro_li current"><A class=pagerpro_a onclick="return fs.goto_page(0);" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#">1</A></LI>
<LI class=pagerpro_li><A class=pagerpro_a onclick="return fs.goto_page(1);" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#">2</A></LI>
<LI class=pagerpro_li><A class=pagerpro_a onclick="return fs.goto_page(2);" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#">3</A></LI>
<LI class=pagerpro_li><A class=pagerpro_a onclick="return fs.next_page();" href="http://www.facebook.com/pages/Squidward-deserves-more-likes-than-Paul-the-Octopus/144045112274335#">Next</A></LI></UL>
<DIV>
<FORM id=sgm_invite_form onsubmit=';var d=document.documentElement;if (d.onsubmit) { return d.onsubmit(event); }else { return Event.fire(d, "submit", event); }' action=http://www.facebook.com/ajax/social_graph/invite_dialog.php method=post><INPUT type=hidden value=€,´,€,´,水,Д,Є name=charset_test><INPUT type=hidden value=ketKm name=fb_dtsg autocomplete="off"></INPUT><INPUT id=send_invitations type=hidden value=1 name=send_invitations autocomplete="off"><INPUT id=invite_id_list type=hidden name=invite_id_list autocomplete="off"><INPUT id=post_form_id type=hidden value=df8e49d70bac54d3495f065d9a50b5e8 name=post_form_id autocomplete="off"></FORM></DIV>
<DIV class=buttons><LABEL class="uiButton uiButtonConfirm uiButtonMedium"><INPUT onclick='SocialGraphManager.submitDialog("sgm_invite_form", "\/ajax\/social_graph\/invite_dialog.php");' type=submit value="Send Invitations" name=send></INPUT></LABEL><LABEL class="uiButton uiButtonDefault uiButtonMedium"><INPUT onclick=Dialog.getCurrent().hide(); type=submit value=Cancel name=skip></INPUT></LABEL></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>
Avatar de Usuario
Chefito
Profesional del Autoit
Mensajes: 2035
Registrado: 21 Feb 2008, 18:42
Ubicación: Albacete/Cuenca (España)

Re: ¿Cómo obtener una referencia a una ventana emergente en IE?

Mensaje por Chefito »

Mmmmm....yo no trabajo nada con el facebook. Solo tengo una cuenta abierta para resolver dudas y poco más.
Donde sale eso que dices en la página??? No lo veo.
Mithrandir escribió:Otro problema es clickear el "link" de invitar amigos ya que este es su código:Código: Seleccionar todo<A class="profile_action actionspro_a" href="#" rel=dialog-post ajaxify="/ajax/social_graph/invite_dialog.php?class=FanManager&node_id=144045112274335">Suggest to Friends</A>Me parece que puedo tratarlo como un link común pero como tiene ajax por ahí tal vez no pueda.
No tiene que haber ningún problema si lo tratas como un link (digo yo). Utiliza las funciones que empiezan por _IElink..... para trabajar con este tipo de enlaces.

Puede que te interese este enlace: http://www.emesn.com/autoitforum/viewto ... book#p6925

Saludos.
Cita vista en algún lugar de la red: En este mundo hay 10 tipos de personas, los que saben binario y los que no ;).
Mithrandir
Mensajes: 27
Registrado: 01 Jun 2009, 02:41

Re: ¿Cómo obtener una referencia a una ventana emergente en IE?

Mensaje por Mithrandir »

Gracias por el enlace a ese tema, pero ese javascript para seleccionar a todos tus amigos ya no funciona. De todas formas conseguí clickear el link de "sugerir a amigos" pero después no puedo obtener una referencia a la ventana que aparece. Probé con _IEattach con el modo dialogbox y embedded. Acá está el código de lo que hice:

Código: Seleccionar todo

#include <IE.au3>
        #include <INet.au3>

    $ventana=_IECreate("http://www.facebook.com/login.php")
        $oEmail=_IEGetObjById($ventana,"email")
        If @error=0 Then $oEmail.value="[email protected]"
        $opass=_IEGetObjById($ventana,"pass")
        $opass.value="password"
        $oForm = _IEFormGetObjByName($ventana,"login_form")
        _IEFormSubmit($oForm)

    _IENavigate($ventana,"http://www.facebook.com/pages/an-example-page")
    _IELoadWait($ventana)
    _IELinkClickByText($ventana,"Suggest to Friends")
    Sleep(7000)

    $ventana2 = _IEAttach("Suggest","embedded");embedded;dialogbox;aca no consigo una referencia a la ventana que aparece
        $boolean = True
    While 1
    $olinks = _IELinkGetCollection($ventana2)
    For $olink In $olinks
        MsgBox(0,"texto interno",$olink.innerText);esto es para debuggear: parece que el _ieattach no funcionó porque me recorre los links de la página "de atras" y no de la ventana
        If Not StringInStr($olink.innerText,"1") And Not StringInStr($olink.innerText,"2") And Not StringInStr($olink.innerText,"3") And Not StringInStr($olink.innerText,"Next") Then _IEAction($olink,"click");aca clickeo todos los amigos, que son todos los links excepto los de avanzar la pagina
    Next
    $olinks = _IELinkGetCollection($ventana2)
    For $olink In $olinks
        If StringCompare($olink.innerText,"Next",1) = 0 Then;si hay alguna página para avanzar,avanzo
           $boolean = False
           _IELinkClickByText($ventana2,"Next")
       EndIf
    Next
    If $boolean Then ExitLoop;Estoy en la ultima pagina asi que salgo del loop
    $ventana2 = _IEAttach("Suggest","DialogBox")
    Sleep(3000)
    WEnd

    $sendobj = _IEGetObjByName($ventana2,"send")
    _IEAction($sendobj,"click")
¿Tal vez haya que tratar esta "ventana" como un frame? ¿Como puedo poner el foco en esta ventana para clickear los links?

También probé de esta otra forma para la parte de obtener una referencia a la ventana, pero me sigue recorriendo los links de la página de atrás:

Código: Seleccionar todo

$ventana2 = _IEGetObjById($ventana,"fb_mfs_body")
    $boolean = True
	While 1	
	$ofriendpart = _IEGetObjById($ventana2,"friends")
	$olinks = _IELinkGetCollection($ofriendpart)
	For $olink In $olinks
		MsgBox(0,"texto interno",$olink.innerText)		
		$olink.fireEvent('onclick')
	Next	
	$opages = _IEGetObjById($ventana2,"mfs_pag_nav_links")
	$olinks = _IELinkGetCollection($opages)
	For $olink In $olinks
		If StringCompare($olink.innerText,"Next",1) = 0 Then
		   $boolean = False		   
		   _IELinkClickByText($opages,"Next")
	   EndIf
    Next
    If $boolean Then ExitLoop	
	$ventana2 = _IEGetObjById($ventana,"fb_mfs_body")
	Sleep(3000)
Gracias por su ayuda nuevamente :smt001
Avatar de Usuario
Chefito
Profesional del Autoit
Mensajes: 2035
Registrado: 21 Feb 2008, 18:42
Ubicación: Albacete/Cuenca (España)

Re: ¿Cómo obtener una referencia a una ventana emergente en IE?

Mensaje por Chefito »

Mmmmmm. Esas ventanas son muy folloneras. Habría que analizarlas directamente.

Como ya te dije me tendrías que decir donde sale esa ventana, para ver como es y poder examinarla.

Saludos.
Cita vista en algún lugar de la red: En este mundo hay 10 tipos de personas, los que saben binario y los que no ;).
Mithrandir
Mensajes: 27
Registrado: 01 Jun 2009, 02:41

Re: ¿Cómo obtener una referencia a una ventana emergente en IE?

Mensaje por Mithrandir »

Disculpá Chefito, me había olvidado de eso. Bueno la ventana esa aparece al cliquear "sugerir a amigos" o "suggest to friends" que está arriba a la izquierda de las páginas de facebook, fijate esta de ejemplo: http://www.facebook.com/pages/WE-LOVE-T ... 4286036020

Al navegar hacia esa página asi se ve:

Imagen

Luego de clickear en "suggest to friends" aparece esta ventana:

Imagen

Fijate que en el DOM con el IETAB el código de esa ventana no aparece antes de clickear "suggest friends" pero si clickeo en "suggest friends", por una parte en los FORMS aparece este form nuevo:

Código: Seleccionar todo

<FORM id=sgm_invite_form onsubmit=';var d=document.documentElement;if (d.onsubmit) { return d.onsubmit(event); }else { return Event.fire(d, "submit", event); }' action=http://www.facebook.com/ajax/social_graph/invite_dialog.php method=post><INPUT type=hidden value=€,´,€,´,水,Д,Є name=charset_test><INPUT type=hidden value=5Sq78 name=fb_dtsg autocomplete="off"></INPUT><INPUT id=send_invitations type=hidden value=1 name=send_invitations autocomplete="off"><INPUT id=invite_id_list type=hidden name=invite_id_list autocomplete="off"><INPUT id=post_form_id type=hidden value=4a26c5ed22faa653f6f6dea577d0a67d name=post_form_id autocomplete="off"></FORM>
Pero eso no creo que me sirva mucho. Si llevo el objetivo a esa ventana me aparece este código:

Código: Seleccionar todo

<DIV class="pop_content pop_content_old" id=pop_content><H2 class=dialog_title><SPAN>Suggest WE LOVE TO PLAY-:-: MOB WARS :-:- BUT WE QUICKLY WANT TO ADD OTHER MOBSTERS to friends.</SPAN></H2>
<DIV class=dialog_content>
<DIV class=dialog_body>
<DIV class="resetstyles num_cols_3" id=fb_multi_friend_selector>
<DIV class=clearfix id=fb_multi_friend_selector_wrapper>
<DIV id=fb_mfs_container>
<H2></H2>
<DIV id=fb_mfs_body>
<H3>Your friends will receive a suggestion from you to like this Page.</H3>
<DIV id=finder>
<TABLE width="100%">
<TBODY>
<TR>
<TD class="    " id=finder_friend_typeahead><LABEL>Find Friends:</LABEL><INPUT class="inputtext    DOMControl_placeholder" id=mfs_typeahead_sgm_invite_form title="Start Typing a Name" size=42 value="Start Typing a Name" name=mfs_typeahead_sgm_invite_form autocomplete="off" placeholder="Start Typing a Name"></TD></TR></TBODY></TABLE></DIV>
<DIV class="filters clearfix" id=filters>
<DIV class=view_on id=view_all><A id=view_all_link><SPAN class=link_container>Filter Friends</SPAN></A>
<DIV class="dropdown_menu hidden_elem link_menu_list" id=fs_dropdown>
<DIV class=dropdown_menu_header_shadow>
<DIV class=menu_content>
<DIV class=menu_separator></DIV>
<DIV class=menu_section_title>Networks</DIV>
<UL></UL></DIV></DIV></DIV></DIV>
<DIV id=max_limit_notice style="DISPLAY: none"></DIV>
<DIV class=sel_filters>
<DIV class="Tabset_tabset clearfix" id="">
<UL class="PillFilter_pillfilter Tabset_tabset">
<LI class="PillFilter_filter   Tabset_selected" id=_view_all><A id=_view_all_anchor onclick='return Tabset.getInstance("").selectTab("_view_all",function() { fs.network_clear(); return false;; }.bind(this),null);' href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">
<DIV class=tl>
<DIV class=tr>
<DIV class=br>
<DIV class=bl>All</DIV></DIV></DIV></DIV></A></LI>
<LI class="PillFilter_filter " id=_view_selected><A id=_view_selected_anchor onclick="return Tabset.getInstance("").selectTab("_view_selected",function() { fs.view('selected');return false;; }.bind(this),null);" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">
<DIV class=tl>
<DIV class=tr>
<DIV class=br>
<DIV class=bl>Selected (<STRONG id=view_selected_count>0</STRONG>)</DIV></DIV></DIV></DIV></A></LI></UL></DIV></DIV></DIV>
<DIV id=fb_multi_friend_selector_notice style="DISPLAY: none"></DIV>
<DIV class=clearfix id=fs_current_filter style="DISPLAY: none"></DIV>
<UL id=friends style="HEIGHT: 210px">
<LI userid="100000416651457"><A title="Adam Starr" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc4/v228/1127/23/q100000416651457_3265.jpg)"><SPAN></SPAN></SPAN><STRONG>Adam Starr</STRONG></A></LI>
<LI userid="814102079"><A title="Ahmed Hussein" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs324.snc4/41442_814102079_407_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Ahmed Hussein</STRONG></A></LI>
<LI userid="1475815021"><A title="Akakiy Barabashka" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc1/v222/1185/91/q1475815021_9919.jpg)"><SPAN></SPAN></SPAN><STRONG>Akakiy Barabashka</STRONG></A></LI>
<LI userid="1675017752"><A title="Alex Gemmell" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc1/v223/921/112/q1675017752_6146.jpg)"><SPAN></SPAN></SPAN><STRONG>Alex Gemmell</STRONG></A></LI>
<LI userid="100000193398780"><A title="Alonzo Suggs" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs625.ash1/27433_100000193398780_4503_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Alonzo Suggs</STRONG></A></LI>
<LI userid="100001204184504"><A title="Ashu Bansal" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs171.ash2/41637_100001204184504_3967_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Ashu Bansal</STRONG></A></LI>
<LI userid="100000508504869"><A title="Ben Brennan" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs621.ash1/27352_100000508504869_3178_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Ben Brennan</STRONG></A></LI>
<LI userid="1508237533"><A title="Brent Weinzirl" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs170.ash2/41550_1508237533_3667_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Brent Weinzirl</STRONG></A></LI>
<LI userid="1057163194"><A title="Bruno De Bock" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs331.snc4/41628_1057163194_6065_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Bruno De Bock</STRONG></A></LI></UL>
<UL class=pagerpro id=mfs_pag_nav_links>
<LI class="pagerpro_li current"><A class=pagerpro_a onclick="return fs.goto_page(0);" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">1</A></LI>
<LI class=pagerpro_li><A class=pagerpro_a onclick="return fs.goto_page(1);" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">2</A></LI>
<LI class=pagerpro_li><A class=pagerpro_a onclick="return fs.goto_page(2);" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">3</A></LI>
<LI class=pagerpro_li><A class=pagerpro_a onclick="return fs.next_page();" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">Next</A></LI></UL>
<DIV>
<FORM id=sgm_invite_form onsubmit=';var d=document.documentElement;if (d.onsubmit) { return d.onsubmit(event); }else { return Event.fire(d, "submit", event); }' action=http://www.facebook.com/ajax/social_graph/invite_dialog.php method=post><INPUT type=hidden value=€,´,€,´,水,Д,Є name=charset_test><INPUT type=hidden value=5Sq78 name=fb_dtsg autocomplete="off"></INPUT><INPUT id=send_invitations type=hidden value=1 name=send_invitations autocomplete="off"><INPUT id=invite_id_list type=hidden name=invite_id_list autocomplete="off"><INPUT id=post_form_id type=hidden value=4a26c5ed22faa653f6f6dea577d0a67d name=post_form_id autocomplete="off"></FORM></DIV>
<DIV class=buttons><LABEL class="uiButton uiButtonConfirm uiButtonMedium"><INPUT onclick='SocialGraphManager.submitDialog("sgm_invite_form", "\/ajax\/social_graph\/invite_dialog.php");' type=submit value="Send Invitations" name=send></INPUT></LABEL><LABEL class="uiButton uiButtonDefault uiButtonMedium"><INPUT onclick=Dialog.getCurrent().hide(); type=submit value=Cancel name=skip></INPUT></LABEL></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>
En concreto el area donde están los amigos tiene este código:

Código: Seleccionar todo

<UL id=friends style="HEIGHT: 210px"><LI userid="100000416651457"><A title="Adam Starr" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc4/v228/1127/23/q100000416651457_3265.jpg)"><SPAN></SPAN></SPAN><STRONG>Adam Starr</STRONG></A></LI>
<LI userid="814102079"><A title="Ahmed Hussein" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs324.snc4/41442_814102079_407_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Ahmed Hussein</STRONG></A></LI>
<LI userid="1475815021"><A title="Akakiy Barabashka" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc1/v222/1185/91/q1475815021_9919.jpg)"><SPAN></SPAN></SPAN><STRONG>Akakiy Barabashka</STRONG></A></LI>
<LI userid="1675017752"><A title="Alex Gemmell" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/profile-ak-snc1/v223/921/112/q1675017752_6146.jpg)"><SPAN></SPAN></SPAN><STRONG>Alex Gemmell</STRONG></A></LI>
<LI userid="100000193398780"><A title="Alonzo Suggs" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs625.ash1/27433_100000193398780_4503_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Alonzo Suggs</STRONG></A></LI>
<LI userid="100001204184504"><A title="Ashu Bansal" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs171.ash2/41637_100001204184504_3967_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Ashu Bansal</STRONG></A></LI>
<LI userid="100000508504869"><A title="Ben Brennan" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs621.ash1/27352_100000508504869_3178_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Ben Brennan</STRONG></A></LI>
<LI userid="1508237533"><A title="Brent Weinzirl" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs170.ash2/41550_1508237533_3667_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Brent Weinzirl</STRONG></A></LI>
<LI userid="1057163194"><A title="Bruno De Bock" onclick="fs.click(this.parentNode); return false;" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#"><SPAN class=square style="BACKGROUND-IMAGE: url(http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs331.snc4/41628_1057163194_6065_q.jpg)"><SPAN></SPAN></SPAN><STRONG>Bruno De Bock</STRONG></A></LI></UL>
El botón de enviar las invitaciones:

Código: Seleccionar todo

<LABEL class="uiButton uiButtonConfirm uiButtonMedium"><INPUT onclick='SocialGraphManager.submitDialog("sgm_invite_form", "\/ajax\/social_graph\/invite_dialog.php");' type=submit value="Send Invitations" name=send></INPUT></LABEL>
y el de avanzar a la siguiente página de mis amigos:

Código: Seleccionar todo

<A class=pagerpro_a onclick="return fs.next_page();" href="http://www.facebook.com/pages/WE-LOVE-TO-PLAY-MOB-WARS-BUT-WE-QUICKLY-WANT-TO-ADD-OTHER-MOBSTERS/84286036020#">Next</A>
El problema está en que no puedo recorrer los elementos de esa ventana (cuando hice las pruebas ví que los links que me agarraba eran los de la página de atrás). Ahora me viene a la mente una cosa que leí en el foro en inglés de DaleHohm sobre que tal vez al inspeccionar el DOM no estamos viendo lo que hay "en tiempo real" pero acá no hace ninguna redirección, y el código de esa ventana aparece después... :smt021 ...tampoco está en un frame, no sé...
Responder