
For some reason, a huge number of projects gladly lose the most bread visitors - white-collar workers during working hours.
Most employers close all social networks in a crowd, starting, naturally, from contact. Despite this, large and very large projects at the top of the page (not very well anymore) have a simple line:
<script type = "text / javascript" src = "http://vkontakte.ru/js/api/share.js?3"> </ script>
or
<script type = "text / javascript" src = "http://userapi.com/js/api/openapi.js?20"> </ script>
As a result, users with a closed contact can not open the site, click on the link and in the end - to bring a profit to the project.
Examples c attendance more than 50k per day:
vesti.rukp.rusmotri.ruoktogo.rulifehacker.rupovarenok.ru')
Be careful, use asynchronous code available for all social services. networks, in extreme cases - you can make it yourself.
UPD: in the comments are asked to explain - why one script will prevent everything.
Meeting the
script or
link, the browser immediately starts loading content (in several streams). Until the download is finished - the browser cannot render the page and “hangs” until the request falls off by timeout (minute or two).
I agree that if normal admins set up a firewall so that this problem will not happen, but as practice shows, many people do not think about it.
UPD2: The most massive "blocking of the runet" happened last year, when Yandex was lying for a couple of hours and with it all sites with the synchronous Yandex.Direct, Metrics and other Yandex widgets.
PS We are looking for frontend (javascript) and python / django programmers for projects with interesting technologies and workload (to the office in St. Petersburg). For details, write in a personal :)