ancientrome.ru
Open in
urlscan Pro
213.170.65.253
Public Scan
URL:
https://ancientrome.ru/site/mistake/mist.min.js
Submission Tags: falconsandbox
Submission: On September 17 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On September 17 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
(function(e){e.fn.textmistake=function(g){var a=e.extend(!0,{l10n:{title:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435:",urlHint:"",errTextHint:"\u0422\u0435\u043a\u0441\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439:",yourComment:"\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 (\u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e):",userComment:"\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439:", commentPlaceholder:"",cancel:"\u041e\u0442\u043c\u0435\u043d\u0430",send:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c",mailSubject:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435",mailTitle:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435",mailSended:"<b>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e. \u0421\u043f\u0430\u0441\u0438\u0431\u043e!</b>", mailNotSended:"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043d\u0435 \u0443\u0434\u0430\u043b\u0430\u0441\u044c",mailNotSendedDesc:"\u0412\u0430\u0448\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u0421\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 arsis31347@gmail.com"}, debug:!0,initCss:!0,initHtml:!0,overlayColor:"#555",overlayOpacity:.3,windowZindex:10001,hideBodyScroll:!0,textLimit:500,contextLength:40,closeOnEsc:!0,mailTo:"oops-rome@mail.ru",mailFrom:"oops@"+window.location.hostname,animateSpeed:0,autocloseTime:0,onShow:function(a){},onHide:function(a){},onLoadingShow:function(a){},onLoadingHide:function(a){},onCtrlEnter:function(){},onEscPressed:function(){},onSendMail:function(a){},onAjaxDone:function(a){},onAjaxResultError:function(a){},onAjaxSendError:function(a){}}, g),k=function(b){if(a.debug){var c=(new Date).toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1");return console.log("["+c+"] "+b)}},v=e("html").first(),l=e("head").first();g=e("body").first();a.initCss&&0===l.find("#mt_s").length&&l.append('<style id="mt_s" type="text/css"> #mt_o{ position:fixed;padding:0;margin:0;top:0;left:0;width:100%;height:100%; background:'+a.overlayColor+";z-index:"+a.windowZindex.toString()+";-moz-opacity:"+a.overlayOpacity.toString()+";opacity:"+ a.overlayOpacity.toString()+";zoom:1;display:none} #mt_c{ position:fixed;top:50%;left:50%;width:454px;height:auto;padding:30px 42px; background:#fff;border:1px solid #777;outline:0;box-shadow:0 4px 16px rgba(0,0,0,.2); font-family:Arial,sans-serif;font-size:13px;line-height:18px; word-wrap:break-word;z-index:"+(a.windowZindex+1).toString()+";display:none} #mt_c .close{ position:absolute;right:0;top:0;margin:0;padding:17px;width:11px;height:11px; background:url('/fon/close1.png') no-repeat center center; -moz-opacity:.7;opacity:.7;cursor:pointer;z-index:"+ (a.windowZindex+10).toString()+"} #mt_c .close:hover{ -moz-opacity:1;opacity:1} #mt_c div.title{ height:32px;padding:0 0 0 40px;margin:0 0 16px;background-repeat:no-repeat;background-position:left center} #mt_c div.title h1{ color:#000;display:inline;font-family:Arial,sans-serif;font-size:16px;font-weight:400;line-height:32px}\t #mt_c div .url{ color:#0f5bd9;text-decoration:underline} #errtxt strong{ font-weight:700;color:#d31;text-decoration:underline} #mt_c input[type='text']{ width:100%;background-color:#fff;border:1px solid #d9d9d9; border-radius:1px;box-sizing:border-box;font-size:13px;padding:3px 8px; resize:none;text-align:start;word-wrap:break-word} #mt_c input[type='text']:focus{ outline:0;border-color:#4d90fe} #mt_c div.buttons{ margin:22px 0 0;text-align:right} #mt_c input[type='button']{ background-color:#f5f5f5;background-image:-webkit-linear-gradient(top,#f5f5f5,#f1f1f1); border-radius:2px;border:1px solid #e2e2e2;color:#444; font-family:Arial,sans-serif;font-size:11px;font-weight:700; height:29px;letter-spacing:normal;line-height:27px; margin:0 0 0 16px;padding:0 15px;text-align:center;outline:0} #mt_c input[type='button']:hover{ border-color:#d2d2d2} </style>"); a.initHtml&&0===g.find("#mt_c").length&&g.append('<div id="mt_c"><div class="loading"><div class="spinner"></div><div class="overlay"></div></div><div class="close mt_cl"></div><h1>'+a.l10n.title+'</h1><div class="msg" style="text-align:center;font-size:170%;"></div><div style="font-weight:bolder;color:#888;padding:10px 0;">'+a.l10n.urlHint+' <span class="url"></span></div><div style="font-weight:bolder;color:#888;padding:10px 0;">'+a.l10n.errTextHint+'</div><div id="errtxt"></div><div style="font-weight:bolder;color:#888;padding:10px 0;">'+ a.l10n.yourComment+'</div><textarea maxlength="499" style="width: 100%; height: 120px;" value="" placeholder="" /><div class="buttons"><input type="button" class="mt_cl" value="'+a.l10n.cancel+'" /><input type="button" class="mt_snd" value="'+a.l10n.send+'" /></div></div><div id="mt_o"></div>');var h=g.find("#mt_o"),c=g.find("#mt_c"),n=c.find("div.loading").first(),w=c.find("div.title").first(),x=c.find("div.msg").first(),p=c.find("span.url").first(),y=c.find("#errtxt").first(),q=c.find("textarea").first(); l=c.find(".mt_cl");var C=c.find(".mt_snd"),r=null,D=function(a){var b={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/]/g,function(a){return b[a]})},t=function(a){return a.replace(/\s+/g," ").replace(/[^a-z\u0430-\u044f\u04510-9\., _\-\(\)\[\]\{\}`~@#\$%\^:\*]/gi,"$&")},z=function(){c.css({"margin-top":-(c.height()/2+parseInt(c.css("padding-top"))),"margin-left":-(c.width()/2+parseInt(c.css("padding-left")))})},A=function(b){if("boolean"=== typeof b)if(b){if(e.isFunction(a.onLoadingShow))a.onLoadingShow(b);n.show().find("*").show()}else{if(e.isFunction(a.onLoadingHide))a.onLoadingHide(b);n.hide()}},m=function(b){if("boolean"===typeof b){if(b){if(e.isFunction(a.onShow))a.onShow(b);a.hideBodyScroll&&v.addClass("mistake-open");c.find("*").show();x.html("").hide();n.hide();h.show(a.animateSpeed);z();c.show(a.animateSpeed);return!0}if(e.isFunction(a.onHide))a.onHide(b);a.hideBodyScroll&&v.removeClass("mistake-open");c.hide(a.animateSpeed); h.hide(a.animateSpeed);return!1}return null},u=function(b,e,f){h.is(":visible")||h.show();c.find("*").hide();A(!1);c.find("div.close").show();w.show().find("h1").html(b).show();f&&w.removeClass().addClass("title "+f);x.html(e).show();z();0<a.autocloseTime&&(clearInterval(r),r=setInterval(function(){m(!1);clearInterval(r)},a.autocloseTime));c.is(":visible")||c.show()},B=function(a){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a)}, E=function(){if(!B(a.mailTo))return k('Email "'+a.mailTo+'" is not valid');if(!B(a.mailFrom))return k('Declare valid "Mail From" address');var b='<html lang="ru"><head><meta charset="windows-1251" /></head><body><p>'+a.l10n.urlHint+' <a href="'+p.text()+'" target="_blank">'+p.text()+"</a></p>\n\n<blockquote>"+y.html()+"</blockquote>\n\n";q.val()&&(b+="<p>"+a.l10n.userComment+" "+q.val()+"</p>");b+="</body></html>";var c="";b={key:"",message:{from_email:a.mailFrom,to:[{email:a.mailTo,type:"to"}],autotext:"true", subject:t(a.l10n.mailSubject),html:b}};0<a.sendmailUrl.length&&(b.key=a.mandrillKey,c=a.sendmailUrl);e.ajax({type:"POST",url:c,data:b}).done(function(b){if(e.isFunction(a.onAjaxDone))a.onAjaxDone(b);if("undefined"!==typeof b[0]&&""===b[0].status||"undefined"!==typeof b.code&&1===b.code){if(e.isFunction(a.onSendMail))a.onSendMail(b);u(a.l10n.mailSended,a.l10n.mailSended,"")}else{if(e.isFunction(a.onAjaxResultError))a.onAjaxResultError(b);u(a.l10n.mailNotSended,a.l10n.mailNotSendedDesc,"");k("Request was sended, but server answer is not valid")}}).error(function(b){if(e.isFunction(a.onAjaxSendError))a.onAjaxSendError(b); u(a.l10n.mailNotSended,a.l10n.mailNotSendedDesc,"");k('Ajax request error with status "'+b.status+'"')});A(!0)};l.on("click",function(){m(!1)});C.on("click",function(){E()});g.keydown(function(b){if(b.ctrlKey&&13===b.keyCode){if(e.isFunction(a.onCtrlEnter))a.onCtrlEnter();b=document.body;var c,f,d,g="",h="";b=("undefined"!==typeof window.getSelection?(c=window.getSelection(),c.rangeCount?f=c.getRangeAt(0):(f=document.createRange(),f.collapse(!0)),d=document.createRange(),d.selectNodeContents(b),d.setEnd(f.startContainer, f.startOffset),g=d.toString(),d.selectNodeContents(b),d.setStart(f.endContainer,f.endOffset),h=d.toString()):(c=document.selection)&&"Control"!==c.type&&(f=c.createRange(),d=document.body.createTextRange(),d.moveToElementText(b),d.setEndPoint("EndToStart",f),g=d.text,d.moveToElementText(b),d.setEndPoint("StartToEnd",f),h=d.text),{before:g,after:h});c=t(b.before.slice(-a.contextLength));f=t(b.after.slice(0,a.contextLength));d="";window.getSelection?d=window.getSelection().toString():document.selection&& "Control"!=document.selection.type&&(d=document.selection.createRange().text);d=D(d).replace(/(\r\n|\n|\r)/gm," ");if(1>d.length)return!1;if(d.length>a.textLimit)return k("Too many text"),!1;q.val("");p.text(window.location.href);y.html("…"+c+"<strong>"+d+"</strong>"+f+"…");m(!0)}});g.keyup(function(b){if(a.closeOnEsc&&h.is(":visible")&&c.is(":visible")&&27===b.keyCode){if(e.isFunction(a.onEscPressed))a.onEscPressed();m(!1)}})}})(jQuery);(function(e){jQuery(document).textmistake({sendmailUrl:"/site/mistake/textmistake.php"})})(jQuery);