said by Dogfather:They modify the site owners HTML to inject their javascript execution line then forward the modified HTML to the user (whose browser then renders the HTML along with the freshly injected executes the javascript).
The HTML of site owners like Google is copyrighted and it's a violation of copyright law to modify copyrighted works without permission of the copyright holder, especially for profit.
You mean that HTML that Google stole from the site owner in the first place to build their index?