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

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

iphone - Using nested NSDictionary with Picker -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -