Derives methods, etc not listed on this page from Awesomium.
Called by HTML panels when the target URL of the frame has changed, this happens when you hover over a link.
Called by HTML panels when the title of the loaded page has been changed.
Must be called after the HTML document has fully loaded.
Called when the page inside the DHTML window runs console.log. This can also be called within the Lua environment to emulate console.log. If the contained message begins with RUNLUA: the following text will be executed as code within the Lua environment (this is how Lua is called from DHTML windows).
Returns if the loaded page can run Lua code, set by DHTML:SetAllowLua
allow = false )
Determines whether the loaded page can run Lua code or not. See DHTML for how to run Lua from a DHTML window.
We advise against using this. It may be changed or removed in a future update.
Broken. Use the CSS overflow rule instead.
Sets if the loaded window should display scrollbars when the webpage is larger than the viewing window. This is similar to the CSS overflow rule.
Stops the loading of the HTML panel's current page.
Awesomium doesn’t work with most HTTPS websites because it only supports up to TLS 1.0.
You might have noticed that Relative File Paths like
<img src="/images/picture.jpg"> wont work. There are 3 solutions for that:
https:// we use
asset:// which will point to our local files.
Please don't point towards your Addons folder. Use the File Location where Gmod has your addon files included.
Classic Absolute File Paths still work ... well unless
you are offline or the
website is down or the website uses
HTTPS above TLS 1.0 Version.
This will encode your local File into a Base64 String. The String will start with the datatype like
data:image/jpeg;base64, followed by a long chain of characters being the Base64 data.
<img src="data:image/jpeg;base64,LzlqLzRBQ...<!-- base64 data -->">
url("data:image/jpeg;base64,LzlqLzRBQ...<!-- base64 data -->")
Websites like https://www.base64-image.de/ can encode the file for you.
Creates a DHTML and opens Google inside.