Rendering Engine Properties

The Rendering Engine component lets you customize the behavior of the Chromium engine used to render HTML content in your application.

When you select the Rendering Engine component in the “Components Used” list, the following properties are available.

AdditionalChromiumArgs

Lets you add some custom Chromium command-line arguments. For example, if you want to disable the GPU accelerated video display, add --disable-accelerated-video. To add multiple arguments, separate each two arguments by space.

ApplicationCache

Controls whether the application cache can be used.

BackgroundColor

Opaque background color used for the browser before a document is loaded and when no document color is specified.Only the RGB components of the specified value will be used. The alpha component must greater than 0 to enable use of the background color but will be otherwise ignored.

CaretBrowsing

Controls whether the caret position will be drawn.

CustomUserAgent

Lets you specify a custom User-Agent for the web browser.

Databases

Controls whether databases can be used.

DefLocale

Defines which locale (language) should be used by the Chromium engine (useful for localization of default buttons for instance). List of values are available in the CEFRuntime\locales subfolder of the ExeOutput for PHP’s location.

For instance, to use the French locale, enter fr.

DeveloperTools

Indicates whether Chomium Developer Tools should be enabled or not. End users can access these tools with the context-menu of the internal browser.

DisableAccelerated2DCanvas

Controls whether accelerated 2D canvas can be used.

DisableFlash

Lets you disable the use of Flash objects in your application.

DisableLocalCache

Allows your application and Chromium engine to store cache and temporary files onto the end user’s computer. By default, it will be a subfolder in the User Data directory as explained here.

EnableAcceleratedPlugins

Controls whether accelerated plugins can be used.

EnableGPUPlugin

Controls whether GPUplugins can be used.

EnableMediaStream

Controls whether WebRTC is handled or not. Note that, for correct WebRTC support, use of the secure protocol https is recommended. Thus, do not disable the “Use secure HTTPS for internal protocol” option.

EnableSpeechInput

Controls whether speech input API can be used.

FileAccessFromFileUrls

Controls whether file URLs will have access to all URLs.

ForbidDownloadMimeType

Prevents downloads of internal resources (for instance, on default video player).

The Chromium engine allows end users to download a played video (or audio) resource using the context menu. If you cannot disable this menu from HTML, it is still possible to prevent the download of the audio or video file using this option.

For instance, if you enter audio/mp3;audio/ogg, ExeOutput will prevent .MP3 and .OGG files from being downloaded, but not played back by the video or audio player.

ImageLoading

Allows images or not.

ImageShrinkStandaloneToFit

How images are resized.

Java

Allows Java or not.

Javascript

Allows JS execution or not.

JavascriptAccessClipboard, JavascriptCloseWindows, JavascriptDomPaste, JavascriptOpenWindows

Customize JS permissions

LocalStorage

Allow LocalStorage or not

LogSeverity

Enable Chromium debugging log or not:

  • Default logging (currently INFO logging) LOGSEVERITY_DEFAULT
  • Verbose logging: LOGSEVERITY_VERBOSE
  • INFO logging: LOGSEVERITY_INFO
  • WARNING logging: LOGSEVERITY_WARNING,
  • ERROR logging: LOGSEVERITY_ERROR,
  • Disables logging completely: LOGSEVERITY_DISABLE (default in ExeOutput for PHP)

If enabled, the Chromium log file is then stored in the same folder as the application .EXE file and with the filename: cefdebug.log
Ensure that the folder is writable if you want the log to be available.

PersistSessionCookies

To allow session cookies (cookies without an expiry date or validity interval) to persist next time the application is run. Session cookies are generally intended to be transient and most Web browsers do not persist them.

Plugins

Allows Plugins or not.

Controls whether the tab key can advance focus to links.

TextAreaResize

Controls whether text areas can be resized.

UniversalAccessFromFileUrls

Controls whether file URLs will have access to all URLs.

Webgl

Allows Webgl or not.

WebSecurity

Controls whether web security restrictions (same-origin policy) will be enforced. Disabling this setting is not recommend as it will allow risky/ security behavior such as cross-site scripting (XSS).

WindowlessFrameRate

Ignored.

Proxy Settings

The Chromium engine can use a proxy for connecting to the Internet: please see how you can modify the proxy settings at runtime.


Copyright G.D.G. Software 2019. All Rights Reserved.