Chrome offers automatic blocking of resource-intensive ads

Google company start enable approval process in Chrome regime automatic blocking of ads that create a large load on the CPU or download too much traffic. If certain limits are exceeded, iframe ad units that consume too many resources will be automatically disabled.

It is noted that some types of advertising, due to inefficient implementation of the code or deliberate parasitic activity, create a large load on the user's systems, slow down the loading of the main content, reduce battery life and spend traffic on non-limited mobile tariffs. Typical examples of ad units to be blocked include interstitials with cryptocurrency mining code, large uncompressed image handlers, JavaScript video decoders, or scripts that process timer events intensively (for example, for side-channel attacks).

Code offered block if it has spent more than 60 seconds of CPU time in the main thread in total or 15 seconds in a 30-second interval (consuming 50% of the resources for more than 30 seconds). Blocking will also be triggered when an ad unit downloads more than 4 MB of data over the network. To exclude the use of blocking as a sign for carrying out attacks through third-party channels, which can be used to judge the power of the CPU, it is proposed to add small random fluctuations to the threshold values ​​and the blocking operation.

Only ads with which the user has not interacted will be unloaded and replaced with a blocking warning. Determining the relationship between an iframe and an advertisement is done heuristically using an existing mechanism AdTagging. Thresholds were chosen to allow 99.9% of the analyzed ad units to pass activity. At the same time, it is predicted that the proposed blocking mechanism will reduce traffic from ad units by 12.8% and reduce CPU load by 16.1%.

Source: opennet.ru

Add a comment