<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danny+To</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danny+To"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Danny_To"/>
	<updated>2026-05-15T09:10:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsBrowserDomainBlocked&amp;diff=44286</id>
		<title>IsBrowserDomainBlocked</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsBrowserDomainBlocked&amp;diff=44286"/>
		<updated>2015-02-06T00:21:44Z</updated>

		<summary type="html">&lt;p&gt;Danny To: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function checks if the specified URL is blocked from being loaded.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isBrowserDomainBlocked ( string url )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''URL:''' A website URL&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the URL is able to be loaded, ''false'' if it is blocked.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Check the state of wiki.mtasa.com&lt;br /&gt;
if ( isBrowserDomainBlocked ( &amp;quot;wiki.mtasa.com&amp;quot; ) ) then&lt;br /&gt;
	--If it is blocked.&lt;br /&gt;
	outputChatBox(&amp;quot;wiki.mtasa.com is blocked and can't be loaded right now!&amp;quot;)&lt;br /&gt;
else&lt;br /&gt;
	--If it is not blocked. (Was accepted by the user)&lt;br /&gt;
	outputChatBox(&amp;quot;wiki.mtasa.com is not blocked and ready to be loaded!&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44284</id>
		<title>CreateBrowser</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44284"/>
		<updated>2015-02-05T17:07:45Z</updated>

		<summary type="html">&lt;p&gt;Danny To: /* Remote Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function creates a new web [[Element/Browser|browser]] element.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element createBrowser ( int width, int height, bool isLocal [, bool transparent = false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''width:''' The browser's native width&lt;br /&gt;
*'''height:''' The browser's native height&lt;br /&gt;
*'''isLocal:''' See examples&lt;br /&gt;
''&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''transparent:''' ''true'' if you want the browser transparent, ''false'' for opaque.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the [[browser]] element was successfully created, ''false'' otherwise. Returns also ''false'', if the user disabled remote pages and ''isLocal'' was set to ''false''.&lt;br /&gt;
&lt;br /&gt;
==Locale Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing a local html file) without input-handling.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--Let's create a new browser in local mode. We will not be able to load an external URL.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, true, false)&lt;br /&gt;
	&lt;br /&gt;
--This is the function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--After this event has been triggered, we will be able to load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--After the browser has been initialized, we can load our file.&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;html/site.html&amp;quot;)&lt;br /&gt;
		--Now we can start to render the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Remote Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing youtube.com) without input-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
Remember, that youtube.com is on the global whitelist. If you want to load a domain/page that is not on the global whitelist, you have to request it with [[cef/requestBrowserDomains|RequestBrowserDomains]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--Let's create a new browser in remote mode.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, false, false)&lt;br /&gt;
	&lt;br /&gt;
--Function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--After this event has been triggered, we will be able to load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--After the browser has been initialized, we can load www.youtube.com&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;http://www.youtube.com&amp;quot;)&lt;br /&gt;
		--Now we can start to render the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44283</id>
		<title>CreateBrowser</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44283"/>
		<updated>2015-02-05T17:06:11Z</updated>

		<summary type="html">&lt;p&gt;Danny To: /* Remote Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function creates a new web [[Element/Browser|browser]] element.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element createBrowser ( int width, int height, bool isLocal [, bool transparent = false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''width:''' The browser's native width&lt;br /&gt;
*'''height:''' The browser's native height&lt;br /&gt;
*'''isLocal:''' See examples&lt;br /&gt;
''&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''transparent:''' ''true'' if you want the browser transparent, ''false'' for opaque.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the [[browser]] element was successfully created, ''false'' otherwise. Returns also ''false'', if the user disabled remote pages and ''isLocal'' was set to ''false''.&lt;br /&gt;
&lt;br /&gt;
==Locale Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing a local html file) without input-handling.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--Let's create a new browser in local mode. We will not be able to load an external URL.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, true, false)&lt;br /&gt;
	&lt;br /&gt;
--This is the function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--After this event has been triggered, we will be able to load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--After the browser has been initialized, we can load our file.&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;html/site.html&amp;quot;)&lt;br /&gt;
		--Now we can start to render the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Remote Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing youtube.com) without input-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
Remember, that youtube.com is on the global whitelist. If you want to load a domain/page that is not on the global whitelist, you have to request it with [[cef/requestBrowserDomains|RequestBrowserDomains]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--Let's create a new browser in remote mode.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, false, false)&lt;br /&gt;
	&lt;br /&gt;
--function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--After this event has been triggered, we will be able to load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--After the browser has been initialized, we can load www.youtube.com&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;http://www.youtube.com&amp;quot;)&lt;br /&gt;
		--Now we can start to render the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44282</id>
		<title>CreateBrowser</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44282"/>
		<updated>2015-02-05T17:04:02Z</updated>

		<summary type="html">&lt;p&gt;Danny To: /* Local Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function creates a new web [[Element/Browser|browser]] element.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element createBrowser ( int width, int height, bool isLocal [, bool transparent = false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''width:''' The browser's native width&lt;br /&gt;
*'''height:''' The browser's native height&lt;br /&gt;
*'''isLocal:''' See examples&lt;br /&gt;
''&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''transparent:''' ''true'' if you want the browser transparent, ''false'' for opaque.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the [[browser]] element was successfully created, ''false'' otherwise. Returns also ''false'', if the user disabled remote pages and ''isLocal'' was set to ''false''.&lt;br /&gt;
&lt;br /&gt;
==Locale Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing a local html file) without input-handling.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--Let's create a new browser in local mode. We will not be able to load an external URL.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, true, false)&lt;br /&gt;
	&lt;br /&gt;
--This is the function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--After this event has been triggered, we will be able to load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--After the browser has been initialized, we can load our file.&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;html/site.html&amp;quot;)&lt;br /&gt;
		--Now we can start to render the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Remote Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing youtube.com) without input-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
Remember, that youtube.com is on the global whitelist. If you want to load a domain/page that is not on the global whitelist, you have to request it with [[cef/requestBrowserDomains|RequestBrowserDomains]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--let's create a new browser.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, false, false)&lt;br /&gt;
	&lt;br /&gt;
--function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--Here we can finally load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--after the browser has been initialized, we can load www.youtube.com&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;http://www.youtube.com&amp;quot;)&lt;br /&gt;
		--finally start to draw the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44281</id>
		<title>CreateBrowser</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateBrowser&amp;diff=44281"/>
		<updated>2015-02-05T16:57:19Z</updated>

		<summary type="html">&lt;p&gt;Danny To: /* Remote Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function creates a new web [[Element/Browser|browser]] element.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element createBrowser ( int width, int height, bool isLocal [, bool transparent = false ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''width:''' The browser's native width&lt;br /&gt;
*'''height:''' The browser's native height&lt;br /&gt;
*'''isLocal:''' See examples&lt;br /&gt;
''&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''transparent:''' ''true'' if you want the browser transparent, ''false'' for opaque.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the [[browser]] element was successfully created, ''false'' otherwise. Returns also ''false'', if the user disabled remote pages and ''isLocal'' was set to ''false''.&lt;br /&gt;
&lt;br /&gt;
==Local Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Remote Example==&lt;br /&gt;
This example shows you how to create a fullscreen Webbrowser (showing youtube.com) without input-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
Remember, that youtube.com is on the global whitelist. If you want to load a domain/page that is not on the global whitelist, you have to request it with [[cef/requestBrowserDomains|RequestBrowserDomains]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--In order to render the browser on the full screen, we need to know the dimensions.&lt;br /&gt;
local screenWidth, screenHeight = guiGetScreenSize()&lt;br /&gt;
&lt;br /&gt;
--let's create a new browser.&lt;br /&gt;
local webBrowser = createBrowser(screenWidth, screenHeight, false, false)&lt;br /&gt;
	&lt;br /&gt;
--function to render the browser.&lt;br /&gt;
function webBrowserRender()&lt;br /&gt;
	--Render the browser on the full size of the screen.&lt;br /&gt;
	dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--The event onClientBrowserCreated will be triggered, after the browser has been initialized.&lt;br /&gt;
--Here we can finally load our URL and start drawing.&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserCreated&amp;quot;, webBrowser, &lt;br /&gt;
	function()&lt;br /&gt;
		--after the browser has been initialized, we can load www.youtube.com&lt;br /&gt;
		loadBrowserURL(webBrowser, &amp;quot;http://www.youtube.com&amp;quot;)&lt;br /&gt;
		--finally start to draw the browser.&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), webBrowserRender)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&amp;diff=44278</id>
		<title>Template:CEF functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&amp;diff=44278"/>
		<updated>2015-02-05T15:31:46Z</updated>

		<summary type="html">&lt;p&gt;Danny To: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New feature/item|3.0150|1.5||&lt;br /&gt;
*[[Cef/createBrowser|createBrowser]]&lt;br /&gt;
*[[Cef/executeBrowserJavascript|executeBrowserJavascript]]&lt;br /&gt;
*[[Cef/focusBrowser|focusBrowser]]&lt;br /&gt;
*[[Cef/isBrowserFocused|isBrowserFocused]]&lt;br /&gt;
*[[Cef/getBrowserTitle|getBrowserTitle]]&lt;br /&gt;
*[[Cef/getBrowserURL|getBrowserURL]]&lt;br /&gt;
*[[Cef/injectBrowserMouseDown|injectBrowserMouseDown]]&lt;br /&gt;
*[[Cef/injectBrowserMouseMove|injectBrowserMouseMove]]&lt;br /&gt;
*[[Cef/injectBrowserMouseUp|injectBrowserMouseUp]]&lt;br /&gt;
*[[Cef/injectBrowserMouseWheel|injectBrowserMouseWheel]]&lt;br /&gt;
*[[Cef/isBrowserLoading|isBrowserLoading]]&lt;br /&gt;
*[[Cef/isBrowserDomainBlocked|isBrowserDomainBlocked]]&lt;br /&gt;
*[[Cef/loadBrowserURL|loadBrowserURL]]&lt;br /&gt;
*[[Cef/requestBrowserDomains|requestBrowserDomains]]&lt;br /&gt;
*[[Cef/setBrowserRenderingPaused|setBrowserRenderingPaused]]&lt;br /&gt;
*[[Cef/setBrowserVolume|setBrowserVolume]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RequestBrowserDomains&amp;diff=44277</id>
		<title>RequestBrowserDomains</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RequestBrowserDomains&amp;diff=44277"/>
		<updated>2015-02-05T15:29:49Z</updated>

		<summary type="html">&lt;p&gt;Danny To: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function opens a request window in order to accept the requested remote URLs.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool requestBrowserDomains ( table pages )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''pages:''' A table containing all domains ('''without''' &amp;lt;font color='red'&amp;gt;&amp;lt;nowiki&amp;gt;http://&amp;lt;/nowiki&amp;gt;&amp;lt;/font&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''', if the string was successfully read, '''false''' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Todo&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
Todo&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Cef/requestBrowserPages&amp;diff=44276</id>
		<title>Cef/requestBrowserPages</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Cef/requestBrowserPages&amp;diff=44276"/>
		<updated>2015-02-05T15:29:25Z</updated>

		<summary type="html">&lt;p&gt;Danny To: Danny To moved page Cef/requestBrowserPages to Cef/requestBrowserDomains: Function has been renamed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Cef/requestBrowserDomains]]&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RequestBrowserDomains&amp;diff=44275</id>
		<title>RequestBrowserDomains</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RequestBrowserDomains&amp;diff=44275"/>
		<updated>2015-02-05T15:29:25Z</updated>

		<summary type="html">&lt;p&gt;Danny To: Danny To moved page Cef/requestBrowserPages to Cef/requestBrowserDomains: Function has been renamed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function opens a request window in order to accept the requested remote URLs.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool requestBrowserPages ( table pages )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''pages:''' A table containing all domains ('''without''' &amp;lt;font color='red'&amp;gt;&amp;lt;nowiki&amp;gt;http://&amp;lt;/nowiki&amp;gt;&amp;lt;/font&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''', if the string was successfully read, '''false''' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Todo&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
Todo&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&amp;diff=44274</id>
		<title>Template:CEF functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:CEF_functions&amp;diff=44274"/>
		<updated>2015-02-05T15:27:26Z</updated>

		<summary type="html">&lt;p&gt;Danny To: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New feature/item|3.0150|1.5||&lt;br /&gt;
*[[Cef/createBrowser|createBrowser]]&lt;br /&gt;
*[[Cef/executeBrowserJavascript|executeBrowserJavascript]]&lt;br /&gt;
*[[Cef/focusBrowser|focusBrowser]]&lt;br /&gt;
*[[Cef/isBrowserFocused|isBrowserFocused]]&lt;br /&gt;
*[[Cef/getBrowserTitle|getBrowserTitle]]&lt;br /&gt;
*[[Cef/getBrowserURL|getBrowserURL]]&lt;br /&gt;
*[[Cef/injectBrowserMouseDown|injectBrowserMouseDown]]&lt;br /&gt;
*[[Cef/injectBrowserMouseMove|injectBrowserMouseMove]]&lt;br /&gt;
*[[Cef/injectBrowserMouseUp|injectBrowserMouseUp]]&lt;br /&gt;
*[[Cef/injectBrowserMouseWheel|injectBrowserMouseWheel]]&lt;br /&gt;
*[[Cef/isBrowserLoading|isBrowserLoading]]&lt;br /&gt;
*[[Cef/isBrowserDomainBlocked|isBrowserDomainBlocked]]&lt;br /&gt;
*[[Cef/loadBrowserURL|loadBrowserURL]]&lt;br /&gt;
*[[Cef/requestBrowserPages|requestBrowserPages]]&lt;br /&gt;
*[[Cef/setBrowserRenderingPaused|setBrowserRenderingPaused]]&lt;br /&gt;
*[[Cef/setBrowserVolume|setBrowserVolume]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsBrowserDomainBlocked&amp;diff=44273</id>
		<title>IsBrowserDomainBlocked</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsBrowserDomainBlocked&amp;diff=44273"/>
		<updated>2015-02-05T15:25:44Z</updated>

		<summary type="html">&lt;p&gt;Danny To: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function checks if the specified URL is blocked from being loaded.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isBrowserDomainBlocked ( string url )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''URL:''' A website URL&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the URL is able to be loaded, ''false'' if it is blocked.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Todo&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Cef/isBrowserURLBlocked&amp;diff=44272</id>
		<title>Cef/isBrowserURLBlocked</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Cef/isBrowserURLBlocked&amp;diff=44272"/>
		<updated>2015-02-05T15:25:31Z</updated>

		<summary type="html">&lt;p&gt;Danny To: Danny To moved page Cef/isBrowserURLBlocked to Cef/isBrowserDomainBlocked: Function has been renamed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Cef/isBrowserDomainBlocked]]&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsBrowserDomainBlocked&amp;diff=44271</id>
		<title>IsBrowserDomainBlocked</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsBrowserDomainBlocked&amp;diff=44271"/>
		<updated>2015-02-05T15:25:31Z</updated>

		<summary type="html">&lt;p&gt;Danny To: Danny To moved page Cef/isBrowserURLBlocked to Cef/isBrowserDomainBlocked: Function has been renamed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
This function checks if the specified URL is blocked from being loaded.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isBrowserURLBlocked ( string url )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''URL:''' A website URL&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the URL is able to be loaded, ''false'' if it is blocked.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Todo&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Danny To</name></author>
	</entry>
</feed>