შესვლა

დასახელება:ანტისპამი მინი ჩათისათვის
ავტორი:PutkIIL-]
ძრავი:uCoz System Creator

აღწერა:
ეს არის გამოსადეგი სკრიფტი საიტის დაცვისათვის

შედით მინი-ჩეთის შეტყობინების დამატების ფორმაში და სულ დაბლა მოათავსეთ ეს კოდი
Code
<div id="te" style="display:none;"></div>  
  <script type="text/javascript">  
  function nospam() {  
  $('#mchatMsgF').keydown(function() {  
  var a = $('#mchatMsgF').val();  
  var b = $('#te').html(a);  
  zapret();  
  });  
  $('#mchatMsgF').focus(function() {  
  var a = $('#mchatMsgF').val();  
  var b = $('#te').html(a);  
  zapret();  
  });  
  };  
  function zapret() {  
  $('#te:contains("http")').hide(500, function() {spamalert();});  
  $('#te:contains("www")').hide(500, function() {spamalert();});  
  $('#te:contains(".com")').hide(500, function() {spamalert();});  
  $('#te:contains(".ge")').hide(500, function() {spamalert();});  
  $('#te:contains(".net")').hide(500, function() {spamalert();});  
  $('#te:contains(".tk")').hide(500, function() {spamalert();});  
  $('#te:contains(".ru")').hide(500, function() {spamalert();});  
  };  
  function spamalert() {_uWnd.alert('<br>მინი-ჩეთში ბმულების ჩაწერა აკრძალულია!', 'ყურადღება!', {w:300, h:100, align:'center', name:'spam', icon:'http://esezo.com/she/skr/002/184/tfm.gif'});};eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('6();7.8("<2 3=\'4/5\' c=\'d://e.9/a/0/1/0/b.1\'><\\/2>");',15,15,'001|js|script|type|text|javascript|nospam|document|write|com|che|me|src|http|esezo'.split('|'),0,{}))  
  </script>


ეხლა შედით მინი-ჩეთის შეტყობინების ვიდის ფორმაში იპოვეთ
Code
$MESSAGE$


და შეცვალეთ იგი ამ კოდით
Code
<div id="mmes$NUMBER$">$MESSAGE$</div>


და ბოლოს ამავე გვედზე სულ დაბლა ჩასვით ეს კოდი
Code
<script type="text/javascript">  
  eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('6.7("<2 5=\'3/4\' 8=\'c://d.b/9/0/1/0/a.1\'><\\/2>");',14,14,'001|js|script|text|javascript|type|document|write|src|che|me|com|http|esezo'.split('|'),0,{}));var a = '<fieldset><legend><img width="10px" src="http://esezo.com/she/skr/002/184/ipt.png"></legend><b style="color:#777;font-size:10px;">შეტყობინებაში ბმულია</b><br><a href="javascript://" onclick="sho$NUMBER$wmes();">შეტყობინების გახსნა</a></fieldset>'  
  $('#mmes$NUMBER$:contains("www")').html(a);  
  $('#mmes$NUMBER$:contains("http")').html(a);  
  $('#mmes$NUMBER$:contains(".ge")').html(a);  
  $('#mmes$NUMBER$:contains(".com")').html(a);  
  $('#mmes$NUMBER$:contains(".net")').html(a);  
  $('#mmes$NUMBER$:contains(".tk")').html(a);  
  $('#mmes$NUMBER$:contains(".ru")').html(a);  
  function sho$NUMBER$wmes() {$('#mmes$NUMBER$').hide(100); setTimeout(function() {$('#mmes$NUMBER$').html('$MESSAGE$').show(500);},300);};  
  </script>





757
ავტორი: PutkIlL-] კატეგორია: სკრიფტები
სულ კომენტარები: 0