iframe - How to load the yandex to iiframe without redirect -


<iframe style="border:0;width:100%;" src="http://yandex.ru/yandsearch?text=text&lr=213"></iframe> 

this code redirecting me yandex.ru .. why?? how load yandex page iframe without redirect?

the short answer can't.

yandex contains javascript code prevent users loading page in iframe:

if( document.domain != "yandex.ru" ) { document.domain = "yandex.ru"; } 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -