4 ms·
> Hijacking `ctrl+f` in a webpage should reserve a special spot in hell for the person that decided it was a good idea But they do it for a good reason. IIRC D
by yokohummer7 9y ago
> Hijacking `ctrl+f` in a webpage should reserve a special spot in hell for the person that decided it was a good idea
But they do it for a good reason. IIRC Discourse does not load all the contents initially so your conventional Ctrl+F won't work correctly. Mind you, I also hate the hijack, but in this case I decided to bear with the unfortunate reality.
- ken 9y agoThat seems like premature optimization, to me. For example, on the meta page linked above, if you scroll all the way to the bottom of the page, it downloads two more JSON documents totaling 55 KB, for all the comments. The page itself is 3.6 MB. By lazy-loading the rest of the comments, it makes standard browser features like searching and scrolling not work right, yet the bandwidth savings of the initial page load is <2%. You'd have to have a lot of comments on a single page before the cost of simply downloading them all became significant.