Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buffer whole_page = visit_url();
- //make relay browser load with chat already open instead of making you click shit to do so.
- whole_page = whole_page.replace_string("<frame name=chatpane src=\"chatlaunch.php\">","<frame name=chatpane src=\"mchat.php\">");
- /*
- //the rest of this script just positions the charpane above the chatpane.
- //make leftmost frame column in game.php (the charpane) not exist
- whole_page.replace_string(whole_page.group_string("<frameset id=rootset name=\"root\" cols=\"\\d+\\,3\\*\\,\\*\" >")[0][0],"<frameset id=rootset name=\"root\" cols=\"3*,*\" >");
- //get rid of the charpane frame.
- whole_page.replace_string("<frame name=charpane src=\"charpane.php\" >", "");
- //append the declaration of a frameset to the end of the mainpane's frameset
- whole_page.replace_string(whole_page.group_string("<frame name=mainpane src=\".*?\"></frame></frameset>")[0][0],whole_page.group_string("<frame name=mainpane src=\".*?\"></frame></frameset>")[0][0]+"<frameset id=whatever rows=\"*,*\" >");
- //put the charpane.php frame on top of mchat.php's column and close the frameset tag added above.
- whole_page.replace_string("<frame name=chatpane src=\"mchat.php\"></frame>", "<frame name=charpane src=\"charpane.php\" ><frame name=chatpane src=\"mchat.php\"></frame></frameset>");
- */
- whole_page.write();
Advertisement
Add Comment
Please, Sign In to add comment