Answer the question
In order to leave comments, you need to log in
What kind of initiative provider?
Greetings. I have mobile Internet MTS.
Found that on some site jquery functions do not work, despite the fact that the jquery file is included before the executable script.
In the devtools in the "Network" section, I saw the following picture.
That is, despite the fact that jquery is connected earlier, it is loaded later.
The situation more or less cleared up when I opened the jquery.min.js:11 file , which triggered the loading of jquery.min.js?passed. Instead of the jquery code I was expecting, I found this
(function () {
var interval = setInterval(function () {
if (document.readyState === 'loading') {
return false;
}
var originalScript = document.createElement('script');
originalScript.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?passed';
document.body.appendChild(originalScript);
if (!window.hasOwnProperty("__af7078cd0e0ad9a66900e1fab06508bd")) {
var counter = document.createElement('img');
counter.src = '//tech.rtb.mts.ru/market0?return_img=True';
counter.style.display = 'none';
document.body.appendChild(counter);
window.__af7078cd0e0ad9a66900e1fab06508bd = "1ebe52b388d41b9c3f3ddce4b7c9bada";
}
if (interval) {
clearInterval(interval);
interval = null;
}
}, 100);
})();
counter.src = '//tech.rtb.mts.ru/market0?return_img=True';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question