An internal struggle over how people use the internet has ensued for several years, pitting tech titans against Madison Avenue advertisers and endangering smaller firms that rely on advertising as their digital survival. This battle is shaping how people browse…