Click here to Skip to main content
15,889,335 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Problem using onbeforeunload in JQuery or Javascript Pin
ZurdoDev26-Feb-14 4:54
professionalZurdoDev26-Feb-14 4:54 
AnswerRe: Problem using onbeforeunload in JQuery or Javascript Pin
Abhishek_RK2-Mar-14 20:41
Abhishek_RK2-Mar-14 20:41 
QuestionOpen form page from network drive and save on the network drive Pin
abmanish7125-Feb-14 7:11
abmanish7125-Feb-14 7:11 
SuggestionRe: Open form page from network drive and save on the network drive Pin
Richard Deeming25-Feb-14 7:32
mveRichard Deeming25-Feb-14 7:32 
Questionwatermark val coming in IE11 Pin
nitin_ion24-Feb-14 3:04
nitin_ion24-Feb-14 3:04 
AnswerRe: watermark val coming in IE11 Pin
Kornfeld Eliyahu Peter25-Feb-14 6:10
professionalKornfeld Eliyahu Peter25-Feb-14 6:10 
GeneralRe: watermark val coming in IE11 Pin
nitin_ion25-Feb-14 15:48
nitin_ion25-Feb-14 15:48 
QuestionObfuscated script (likely malware) Pin
Bernhard Hiller23-Feb-14 4:41
Bernhard Hiller23-Feb-14 4:41 
What does following script do:
(function() { var b=window,f="chrome",g="jstiming",k="tick";(function(){function d(a){this.t={};this.tick=function(a,d,c){var e=void 0!=c?c:(new Date).getTime();this.t[a]=[e,d];if(void 0==c)try{b.console.timeStamp("CSI/"+a)}catch(h){}};this[k]("start",null,a)}var a;b.performance&&(a=b.performance.timing);var n=a?new d(a.responseStart):new d;b.jstiming={Timer:d,load:n};if(a){var c=a.navigationStart,h=a.responseStart;0<c&&h>=c&&(b[g].srt=h-c)}if(a){var e=b[g].load;0<c&&h>=c&&(e[k]("_wtsrt",void 0,c),e[k]("wtsrt_","_wtsrt",h),e[k]("tbsd_","wtsrt_"))}try{a=null,
b[f]&&b[f].csi&&(a=Math.floor(b[f].csi().pageT),e&&0<c&&(e[k]("_tbnd",void 0,b[f].csi().startE),e[k]("tbnd_","_tbnd",c))),null==a&&b.gtbExternal&&(a=b.gtbExternal.pageT()),null==a&&b.external&&(a=b.external.pageT,e&&0<c&&(e[k]("_tbnd",void 0,b.external.startE),e[k]("tbnd_","_tbnd",c))),a&&(b[g].pt=a)}catch(p){}})();b.tickAboveFold=function(d){var a=0;if(d.offsetParent){do a+=d.offsetTop;while(d=d.offsetParent)}d=a;750>=d&&b[g].load[k]("aft")};var l=!1;function m(){l||(l=!0,b[g].load[k]("firstScrollTime"))}b.addEventListener?b.addEventListener("scroll",m,!1):b.attachEvent("onscroll",m);
 })();

I found it embedded in a page which looks harmless...
[Edit]I guess it is the same type of hack which I experienced 1.5 years agon on my web site, but the hacker added some more obfuscation now. See Analysing an obfuscated malware script[^].[/Edit]

modified 24-Feb-14 4:24am.

AnswerRe: Obfuscated script (likely malware) Pin
Kornfeld Eliyahu Peter24-Feb-14 4:12
professionalKornfeld Eliyahu Peter24-Feb-14 4:12 
GeneralRe: Obfuscated script (likely malware) Pin
Bernhard Hiller24-Feb-14 20:34
Bernhard Hiller24-Feb-14 20:34 
GeneralRe: Obfuscated script (likely malware) Pin
Nicholas Marty25-Feb-14 4:17
professionalNicholas Marty25-Feb-14 4:17 
GeneralRe: Obfuscated script (likely malware) Pin
Bernhard Hiller25-Feb-14 20:51
Bernhard Hiller25-Feb-14 20:51 
AnswerRe: Obfuscated script (likely malware) Pin
DragonHeart33525-Feb-14 1:07
DragonHeart33525-Feb-14 1:07 
QuestionRe: Obfuscated script (likely malware) Pin
Kornfeld Eliyahu Peter25-Feb-14 2:13
professionalKornfeld Eliyahu Peter25-Feb-14 2:13 
AnswerRe: Obfuscated script (likely malware) Pin
DragonHeart33525-Feb-14 3:27
DragonHeart33525-Feb-14 3:27 
AnswerRe: Obfuscated script (likely malware) Pin
Kornfeld Eliyahu Peter25-Feb-14 3:30
professionalKornfeld Eliyahu Peter25-Feb-14 3:30 
GeneralRe: Obfuscated script (likely malware) Pin
DragonHeart33525-Feb-14 3:56
DragonHeart33525-Feb-14 3:56 
GeneralRe: Obfuscated script (likely malware) Pin
jkirkerx1-Mar-14 18:00
professionaljkirkerx1-Mar-14 18:00 
GeneralRe: Obfuscated script (likely malware) Pin
Bernhard Hiller2-Mar-14 20:15
Bernhard Hiller2-Mar-14 20:15 
QuestionStore form page in csv format Pin
abmanish7122-Feb-14 2:30
abmanish7122-Feb-14 2:30 
AnswerRe: Store form page in csv format Pin
Abhishek_RK2-Mar-14 20:51
Abhishek_RK2-Mar-14 20:51 
QuestionGoogle Chart error Pin
miss78620-Feb-14 6:13
miss78620-Feb-14 6:13 
AnswerRe: Google Chart error Pin
Richard Deeming20-Feb-14 8:36
mveRichard Deeming20-Feb-14 8:36 
GeneralRe: Google Chart error Pin
miss78624-Feb-14 6:15
miss78624-Feb-14 6:15 
GeneralRe: Google Chart error Pin
Richard Deeming24-Feb-14 8:47
mveRichard Deeming24-Feb-14 8:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.