I recently
visited the ONF website . Got on it by chance, from the blog Navalny. I think once Navalny something
scolds , it is worth looking at it. I looked, saw nothing special or interesting, switched to other tabs and forgot about it. After a while, my Firefox began to amaze me.
For those who do not use Ognelis, a little bit of explanation. On the bookmarks bar it has such a pseudo-folder “Most Popular” (Most Popular) in which the most visited sites are automatically collected. Very comfortably. A similar feature probably exists in all browsers. Usually this folder looks like this for me:
...
No, I unfortunately can not show you how she looked before

because now it looks like this:
And I somehow did not guess to keep a screenshot of the previous view in advance. :) Full URLs there are: _http: //premier.gov.ru/onf/#photo=X
')
Being lightly shocked, I wondered. Do I really deal with top-secret government
nano- technology of website promotion, which makes the most recently created website the most popular not only in different rankings and search engines, but also in browsers by users? However, rational thinking still won, I decided to get to the bottom of the truth and turned on Firebug.
On the main there is a phototape with automatic scrolling, in the “Multimedia” block. It seems that pictures from it and
I filled my list of popular sites. After the page loads, the slideshow starts and starts uploading photos at regular intervals. Here’s what Firebug looks like:
Requests of this type:
GET /patron/static/onf/media/front10.png HTTP/1.1
It turns out a funny thing. While I, having forgotten about the tab with this site, walked around Habr or did other things at all, these constant requests made counters of visits to the same URLs, and thus got into the top of Firefox. However, it remains unclear:
1. Why are image requests generally counted by Firefox as page visits?
2. Why do URLs in the popular list look different than Firebug shows?
3. Is this a “shydevr” of site developers or a Firefox glitch?
Decided to look into the story. There URLs have the same look (premier.gov.ru/onf/#photo=X) and are added right before your eyes. I suspect that the solution lies in a clever loading mechanism. And here I ask for the “help of the hall”, since I myself am not a great expert on JS. The download and display code is located right in the body of the main page.
PS I wanted to post this topic in “Habraexpertiza”, as there are probably many more interesting things on this site. (Let me remind you that this is the website of the Chairman of the Government of the Russian Federation V.V. Putin, and the website of the Popular Front is only one of its sections.) For example, they pleased the
photos in PNGs of 330x240 and weighing
150K each (well, otherwise not to make transparent rounded corners) . It turns out the total weight of the main page
2.5 MB , quite solid.
But first, I want to make sure that this is not a Firefox glitch (3.6.13, Ubuntu 10.04).