This would be a method that plugins and higher could use to open a webpage in studio’s browser. DomainName would be the name of the domain. Location would be the part of the address that comes after .com (im not a web dev ok).
The purpose of segregating domainName and location is to allow roblox to filter domainName to only allow approved sites. I’m thinking the list of allowed sites should be: roblox.com, wiki.roblox.com, developer.roblox.com, youtube.com, twitch.tv, and twitter.com.
The primary use cases for this are:
- Plugins that use guis to link players to specific assets, groups, users, etc… Especially linking to donation shirts, since plugins can’t easily monetize.
- Linking to a youtube tutorial
- Linking to a twitter announcement
- Linking to a wiki page
- Linking to a post on developer.roblox.com, just in case someone finds a reason for that
Some people will probably be concerned about plugins abusing this, but really why would you even have a plugin like that installed in the first place?