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

iphone - Using nested NSDictionary with Picker -

php - accessing mysql using different server to which db connection data is located -

javascript - Iterate over array and calculate average values of array-parts -