Как реализовать такую вешь?
В общем на данный момент имею скрипт
var loc; (function(){ loc=document.location.href; if(locCheck('combat.php')){ alert('Alert'); } } )(); function locCheck(substr){ return loc.indexOf(substr)>=0; } Он если видит что была загружена ссылка через href в которой есть combat.php выводит alert. Но мне надо отловить xml/gmxml.php которая подгружается методом post через файл combat.php вот таким способом и так же выводить alert. <body class="body_bg"> <table cellspacing=0 cellpadding=0 border=0 width="100%" height="100%" style="background-image:url(/img/bg1.jpg); background-position:right top;"> <tr> <td id="fl_combat_html"> <script language="javascript"> AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10.0.45.2', 'width', '810', 'height', '381', 'id','fl_combat', 'name','fl_combat', 'src', 'files/flash/fl_loader.swf?rnd=1248432986', 'movie', 'files/flash/fl_loader.swf?rnd=1248432986', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'menu', 'false', 'wmode','transparent', 'flashvars', 'contentLnk=files/flash/fl_fight.swf?rnd=1286786279&contentSelfSize=352276&contentExtraSize=527200&&host=77.246.101.157&port=11795&cd_port=80&proxy_url=http://77.246.101.158:80&force_proxy=0&SpellInfoLnk=xml/abiinfoxml.php&SpellIconsPath=/files/spells/&ConsumableIconsPath=/files/spells/&AvatarPath=/files/avatars/&AnPack=files/flash/fl_fight_anim.swf?rnd=1248432986&GrPack=files/flash/fl_fight_graph.swf?rnd=1248432986&As1Pack=files/flash/fl_assets_p1.swf?rnd=1269858545&As3Pack=files/flash/fl_assets_p3.swf?rnd=1248432985&game_id=234091930&user_id=1315767&race_id=1&auth_id=1296302300&LocaleLnk=files/admin/localization/xml/ru/fl_locale.xml?rnd=1286870269&StateLnk=[B][COLOR="Lime"]xml/gmxml.php[/COLOR][/B]&timeout=10&BugReportSysInfo=sysStringCreate&BugReportUrl=xml/bugxml.php?rnd=5704&AnimData=files/gfx/gfx_anim_rules.bin?rnd=1283506943&AnimPks=files/flash/anims/3_08_2010_pack.swf,49780,1281341013,files/flash/anims/boevie_pomidory_animpack.swf,23678,1282213086,files/flash/anims/cost_mobs_pack.swf,346622,1283176559,files/flash/anims/fl_fanim_p1.swf,210539,1269263996,files/flash/anims/fl_fanim_p2.swf,215394,1269263996,files/flash/anims/fl_fanim_p3.swf,122939,1269263996,files/flash/anims/fl_fanim_p4.swf,156531,1269263996,files/flash/anims/fl_fanim_p5.swf,197296,1269263996,files/flash/anims/fl_fanim_p6.swf,229915,1269263996,files/flash/anims/mobi_shaht_animpack.swf,95697,1270472096,files/flash/anims/mobi_shaht_animpack_test_2.swf,95889,1270629071,files/flash/anims/mobi_shaht_animpack_test_3.swf,96236,1270736900,files/flash/anims/new_tree_2_pack.swf,362964,1269263996' ); </script> </td> </tr> </table> |
Часовой пояс GMT +3, время: 03:08. |