Browser
Last updated
Last updated
The Browser APP allows players to view websites that you have previously added to the whitelist, which can be found in laptop/client/editable/website.lua.
To add a website, you must include it in the allWebsites table, where the index key is how the player will see and access the website from the browser, and the value is the actual URL of the website you want to direct them to, which will not be visible to the player.
In the following example, you can see how the key index is 'uwucafe.com' and the value is the URL 'https://uwucatcafe.com/'. This will cause the user to be redirected to 'https://uwucatcafe.com/' when they type 'uwucafe.com' in the Browser, but they won’t be able to see the real URL since it is masked.
The websites you use should not contain pop-ups and must support being rendered inside iframes. Websites such as YouTube, Twitch, Google, etc., will not work.