LyricalMM Posted November 17, 2018 Share Posted November 17, 2018 local tabUpdates = DGS:dgsCreateTab( "Updates", tabPanel ) local webBrowser = DGS:dgsCreateBrowser ( 0.02, 0.02, 0.96, 0.96, true, tabUpdates ) addEventHandler("onClientBrowserCreated", webBrowser, function() loadBrowserURL(webBrowser, "http://www.saib-gov.tk/updates/") end) here is the browser script, and the browser is not loading, but if I replace it with www.youtube.com it works any solves? Link to comment
Scripting Moderators thisdp Posted November 18, 2018 Scripting Moderators Share Posted November 18, 2018 https://wiki.multitheftauto.com/wiki/RequestBrowserDomains Link to comment
LyricalMM Posted November 18, 2018 Author Share Posted November 18, 2018 (edited) requestBrowserDomains({ "saib-gov.tk" }) local browser = guiCreateBrowser ( 0.02, 0.02, 0.96, 0.96, true, false, true, tabExplained ) -- create browser addEventHandler("onClientBrowserWhitelistChange", root, function(newDomains) if newDomains[1] == "saib-gov.tk" then loadBrowserURL( browser, "http://www.saib-gov.tk/updates" ) end end ) still not working Edited November 18, 2018 by LyricalMM change of script Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now