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
To prepare a commercial offer.
190 ₽
50 pages for 10 days
  • 1 page gives 1 tool launch Checking the page.
  • Purchased for a specific site
  • Restrictions on other tools remain the same
PRO subscription
For regular work on a site or a group of sites.
1 580 ₽
3,500 pages per week. The subscription period is 1 month.
Wallet
A separate page balance that complements the PRO subscription balance.
190 ₽
Number of pages
  • An active PRO subscription is required to use the wallet balance
We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree