browser

Show a web page to the user. This is deliberately a command, not a mechanism: your mod says "show this", and the engine decides how. Today it hands the address to the system browser; if the overlay later grows an embedded view, every mod calling this follows automatically with no change. Don't try to open pages any other way.

functionbrowser.open(url) → boolean

Open a web page. Returns true if it was handed off successfully.

ParamTypeNotes
urlstringMust begin http:// or https://. Anything else — a file:// path, a program name, a custom scheme — is refused and returns false, so this can't become a way out of the sandbox. Percent-encode anything exotic in the address yourself.
browser.open("https://bulbapedia.bulbagarden.net/wiki/Pikachu_(Pok%C3%A9mon)")
One page of the MCCP modding reference. Every section is its own document; search covers all of them.