hiccupFX.js
hiccupfx.telnet.asia
hiccupfx.telnet.asia
So this is an example of Cumulative Layout Shift (CLS)[0]. It is a metric (coined and named by Google) which indicates how much “movement” there is during the initial render of a page, caused by reflowing the layout. Ideally you have very little or none of it for better UX. I believe it can have an impact on organic search ranking and potentially ad rank.
The most common cause is images included without width and height attributes, therefore the page has to reflow after the image has been downloaded.
Other things that can cause it are multiple css files overriding each other and loading slowly, or JavaScript effecting the layout after it has loaded.
You can use Google Lighthouse [1] to measure this (and other things) on a site.
https://i.imgur.com/qcaMTBh.png
...although I guess they got a green light on CLS, lol.
URL for transparency: https://www.google.com/search?q=tomatoes&sxsrf=AOaemvKVS3_Ep...
Facebook: scroll down your timeline, scroll back up and everything has changed ...
Google: see a nice ad, accidentally click on a different link, click "back", ad is gone ...
Or run our software in a "multiverse" VM, where every click/scroll operation makes a snapshot of the entire OS, and allows us to roll back state.
A few? You an I must use very different web sites.
Both of the too-big-to-fail bank web sites I went to today have this problem.
My health insurance web site does this.
I just checked, and unless you're on a really fast connection and a newish computer, Starbucks, Instructables, Pinion Coffee, my local honey farm, Target, PetSmart, and Chewy, Amazon, Twitter, and PetCo all do this.
It's infuriating, and makes me wonder if anyone at Google actually uses their own product.
[1] https://chrome.google.com/webstore/detail/remove-people-also...
[2] google.*##[id^="eob_"]
Google is only playing deaf while revenue keeps coming.
I don't know which one is worse.
Maybe they measured clicks and thought this must be a really useful feature.
This site has ads that cover the content
and when you try to close them you will frequently click on the ad instead of the tiny close button. Back in the day the Scientologists would have reported him for click fraud but today they are a shadow of the terror they once were.
They even made a docker package
It's absolutely insane to me that they haven't fixed it yet.
Not only does the page load new things, but google resizes everything just as you click
Aka, the Evil Department.
Don't forget that you are not Google's customers. Their advertisers are their customers. You're just a product they sell. So the UX does exactly what it is supposed to do: get eyeballs on advertisements.
Even if you click back at Google's scale inadvertent clicks are big money. Besides you seeing something advertised/promoted they got some free tracking data to sell. So long as whatever they linked to managed to load some tracking pixels or even full tracking scripts before you hit the back button that's more tracking data hoovered up. Even just the request for the resource is data for tracking purposes.
Some people really should be fired honestly.
Demo: https://css-demo-client-side-render-jankiness.roryokane1.rep...
Source code: https://replit.com/@RoryOKane1/CSS-demo-client-side-render-j...
However, a limitation of not using JavaScript is that I can’t randomize the changed properties: the page changes in the same way after every reload.
Hear me out, though. The reasons are real. The modern web sucks bad but it's been like that for many, many years. Certainly longer than a decade.
From my point of view, as someone who writes js for a living, I started using NoScript a while ago and the web is generally very fast and nothing shifts position on my screen as things (ads) load. Yeah, I don't do social media and some sites are nothing but a blank page. It's a blessing.
I guess my point is: avoid doing things that annoy you. If you don't like js heavy sites - stop using them. Or just adopt NoScript. No, ublock isn't the exact same thing. The granularity is counter productive in this respect.
In any case, doing things because they are popular doesn't sit well with me. Fast food is popular, and yet I would advise to stay away from most of it
Here is a stackoverflow that explains it https://stackoverflow.com/a/7365214/4690715
Unless the requests are triggered after another request finished of course. That's still significantly impacting loading times
why is everything so terrible to use then :-(
Most sites load pretty quickly with ads blocked, even complicated over-engineered SPAs.
I know that circa 2018 the ad industry suffered a shock as major players started measuring more precisely what value ads brought, and CPC went down, I think things just got worse at this point because websites crammed more ads in response.
More and more web sites stall, or refuse to load at all with ad blockers enabled. Even ad-free ones like government web sites, because they use the same tracking mechanisms.
Though you are right, it does happen. If Google's tracking code doesn't load you can't buy tickets on Northern Rail's¹ site for instance.
[1] Northern is one if the franchises running bits of the UK's "imaginatively" arranged railway system
You should not have to look this one up: xkcd 624.
Then one day a new prisoner arrives.
Later that day when everybody is at their cells some other guy yells: "194". And,as usual, all people laugh.
Another one says "315". Even more laughter. Another: "873", the place is a mad house.
Emboldened and wishing to fit in, the new guy yells: "242".
Total silence. Not even a little chuckle. Embarrassed the new guy turns toward his cellmate and asks him: "What did I do wrong?,Isnt 242 a good joke?". His cellmate says: " it is indeed a good joke, it is hilarious.But you see, son, a joke is not just the story, the most important part is the way you tell it"
When work depends on those resources it can't even start until all the data is returned. Far too often nothing can happen until a case are of resources gets returned. Then there's the fun outlier of some slow AdTech script that finally returns, screws with the DOM, and causes a layout and repaint.
It's just today's "What Andy Giveth, Bill Taketh". Great job all around everyone.