Jump to content

guiCreateBrowser problem.


LyricalMM

Recommended Posts

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
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 by LyricalMM
change of script
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...