Lessons

Blocking files

If a file from a blocked site is connected to the page, it will be loaded for a very long time until the browser resets the connection by timeout. The timeout occurs after 30-45 seconds. All this time, the page will be waiting for the file to load. This will delay calling the windows.onload key event. Part of the functionality of the site is activated by this event.

Therefore, you need to make sure that the site does not use files from blocked sites, or at least they load asynchronously and do not block page loading. To upload files asynchronously, use the following function:

language-javascript window.addEventListener("load", (event) => { setTimeout(function() { // Here is a code call }, 50); }); `` or jQuery versionlanguage-javascript $(window).on(“load”, function(event) { setTimeout(function() { // Here is a code call }, 50); }) “

PRO subscription for working with the service

Promo
Checking 50 pages in the tool "Checking the page"
190 ₽
The subscription is activated for 10 days and is linked to a specific site.
PRO subscription
3,500 pages per week in tools "Checking the page" and "Full site scan".
1 580 ₽
The subscription is activated for 30 days and you can scan any site.
Wallet
Additional pages that are credited to a separate balance. For checking large sites.
200 ₽
Number of pages
An active PRO subscription is required.
We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree