Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (20 sloc) 0.742 kb
<script>
if(location.search.substr(0,2)=='?i'){
document.write('<iframe style="opacity:0" src="http://translate.google.com/translate?hl=en&sl=en&tl=ru&u=http%3A%2F%2Fhomakov.github.io%2Fguc2.html%3F162"></iframe>');
window.onmessage=function(){window.close();}
}else{
// under GUC
wait = setInterval(function(){
try{
// we need to go deeper...
// parent is GT, parent.parent is ?i page
var el = parent.parent.opener.frames[0].document.getElementsByClassName('page')[0];
if(el){
el.innerHTML='<h1>Hey! Russia needed some rebranding. We are Mango Federation now!</h1>';
clearInterval(wait);
parent.parent.postMessage('closeme','*')
}
}catch(e){}
}, 100);
}
</script>
Jump to Line
Something went wrong with that request. Please try again.