2 ms·
Many joyous moments of genuine positive hackery. Notable for me were: - At several points, unusual things were done "for some reason", following an intuition.
by lioeters 7y ago
Many joyous moments of genuine positive hackery. Notable for me were:
- At several points, unusual things were done "for some reason", following an intuition.
- The one character that does the trick was discovered by brute-forcing the browser's URL parsing logic.
- After finding that this little trick works, other related Google apps were explored (for "some reason") to see if the trick is generally applicable, which indeed it was.
- Deep diving into Chromium source to confirm why the trick works.
- How nicely the ends are tied up at the end, seeing the result of his work have an effect deep in a Closure library commonly used at Google.
---
Loved this part (my emphasis):
> I was always “afraid” to dig this deep, and would never have thought about looking into the source code of a browser, but after browsing around a bit, you realise that this code is also just code, and you can understand how it works. This is super and interesting and can be really helpful in many situations.