DE
Size: a a a
DE
DE
ВЛ
var origAjax = $.ajax;
$.ajax = function(url, opts) {
if (url["url"] === "/assets/pages/create_lead.php") {
console.log("Попался!");
}
return origAjax.apply(this, [url, opts]);
}
return origAjax.apply(this, [url, opts]);
ВЛ
var origAjax = $.ajax;
$.ajax = function(url, opts) {
if (url["url"] === "/assets/pages/create_lead.php") {
console.log("Попался!");
return origAjax.apply(this, [url, opts]);
}
return origAjax.apply(this, [url, opts]);
}
ВЛ
K
if != return
ВЛ
if != return
DE
var origAjax = $.ajax;
$.ajax = function(opts) {
if (opts["url"] === "/assets/pages/create_lead.php") {
console.log("Попался!");
}
return origAjax.call(this, opts);
}
S
var origAjax = $.ajax;
$.ajax = function(opts) {
if (opts["url"] === "/assets/pages/create_lead.php") {
console.log("Попался!");
}
return origAjax.call(this, opts);
}
DE
Array.from({ length: 1000 }, (e, i) => ({ id: i + 1, title: `Test ${i + 1}` }))
DE
DE
Array.from({ length: 10 ** 1000 }, (e, i) => ({ id: i + 1, title: `Test ${i + 1}` }))
S
Array.from({ length: 10 ** 1000 }, (e, i) => ({ id: i + 1, title: `Test ${i + 1}` }))
ВЛ
var origAjax = $.ajax;
$.ajax = function(opts) {
if (opts["url"] === "/assets/pages/create_lead.php") {
console.log("Попался!");
}
return origAjax.call(this, opts);
}
ВЛ
var origAjax = $.ajax;
$.ajax = function(url, opts) {
if (url["url"] === "/assets/pages/create_lead.php") {
console.log("Попался!");
}
return origAjax.apply(this, [url, opts]);
}
ВЛ
C
C
C
RU