Reprogramming a 2013 Ford Fiesta Key with a broken blade

Whenever Chrome asks if it can be the default browser, I wonder what kind of operating system would give a program the control to set itself as default.