I am not sure about the intention of this example, and therefore, I will not touch it. The recommended way to open a URL with the system browser is OpenURL(url:string) in LclIntf; there is also a FindDefaultBrowser which does more careful searching than just looking in the path, it could replace the GetBrowser of the sample, but I did not investigate how this would fit into the shell scripts provided.
Probably, the sample is just outdated...