x-wlryyzou.123tt.ru
Open in
urlscan Pro
2606:4700:3031::ac43:cb0b
Public Scan
Submitted URL: http://x-wlryyzou.123tt.ru/parse/s.rutor.org/t/functions.js
Effective URL: https://x-wlryyzou.123tt.ru/parse/s.rutor.org/t/functions.js
Submission: On July 16 via api from US — Scanned from DE
Effective URL: https://x-wlryyzou.123tt.ru/parse/s.rutor.org/t/functions.js
Submission: On July 16 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
function insert(aTag, eTag) { //var input = document.forms['tagable'].elements['descr']; var input; if (document.forms['tagable'].elements['descr']) input = document.forms['tagable'].elements['descr']; else input = document.forms['tagable'].elements['text']; // input.focus(); /* fur Internet Explorer */ if(typeof document.selection != 'undefined') { /* Einfugen des Formatierungscodes */ var range = document.selection.createRange(); var insText = range.text; range.text = aTag + insText + eTag; /* Anpassen der Cursorposition */ range = document.selection.createRange(); if (insText.length == 0) { range.move('character', -eTag.length); } else { range.moveStart('character', aTag.length + insText.length + eTag.length); } range.select(); } /* fur neuere auf Gecko basierende Browser */ else if(typeof input.selectionStart != 'undefined') { /* Einfugen des Formatierungscodes */ var start = input.selectionStart; var end = input.selectionEnd; var insText = input.value.substring(start, end); input.value = input.value.substr(0, start) + aTag + insText + eTag + input.value.substr(end); /* Anpassen der Cursorposition */ var pos; if (insText.length == 0) { pos = start + aTag.length; } else { pos = start + aTag.length + insText.length + eTag.length; } input.selectionStart = pos; input.selectionEnd = pos; } /* fur die ubrigen Browser */ else { /* Abfrage der Einfugeposition */ var pos; var re = new RegExp('^[0-9]{0,3}$'); while(!re.test(pos)) { pos = prompt("Вставить на место (0.." + input.value.length + "):", "0"); } if(pos > input.value.length) { pos = input.value.length; } /* Einfugen des Formatierungscodes */ var insText = prompt("пожалйуста выделите текст для форматирования:"); input.value = input.value.substr(0, pos) + aTag + insText + eTag + input.value.substr(pos); } } function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function hideshow(me) { var thisvar = me.next('div'); if (thisvar.css('display') == 'none') { thisvar.html(thisvar.next('textarea').val()); thisvar.css('display', 'block'); me.css('background-image', 'url(http://s.rutor.org/t/icon_minus_1.gif)'); } else { thisvar.html(''); thisvar.css('display', 'none'); me.css('background-image', 'url(http://s.rutor.org/t/icon_plus_1.gif)'); } } function filter_bad_words(value, form) { $.post('/filter.php', {ajax: value}, function(data) { if (data=='0') { alert('Текст содержит запрещенные ссылки/фразы/текст!'); window.open('/filter.php'); } else { $(form).unbind('submit').submit(); } }); }