View Categories

JavaScript And Browser

14 Topics

JavaScript and the Chromium Browser

Last Updated: September 20, 2025

The Chromium Browser Engine ExeOutput for PHP applications use an internal browser to display pages and provide user interaction. This browser is built upon the powerful Chromium/Blink rendering engine, integrated via the Chromium Embedded Framework (CEF). Learn more about the rendering engine and configurable Chromium options. Developer Tools ExeOutput for PHP provides access to Developer...

Developer Tools in ExeOutput Applications

Last Updated: September 20, 2025

Enabling Developer Tools in Your Application In ExeOutput for PHP, navigate to Application Settings => Rendering Engine. Developer Tools are accessible if you enable the DeveloperTools option on the rendering engine settings page for CEF or WebView2: Enabling Developer Tools in Pop-up or Secondary Windows Set the DevToolsInPopup property to True on the rendering engine...

The exeoutput JavaScript Object API

Last Updated: September 20, 2025

In addition to its own HEScript scripting language, ExeOutput for PHP extends the browser’s environment with a special exeoutput JavaScript object. This API allows you to interact with and control the application directly from your HTML pages. For instance, the following JavaScript code will close the application: exeoutput.RunHEScriptCode('ExitPublication;'); Asynchronous Operations The exeoutput methods operate asynchronously....

JavaScript window extension

Last Updated: September 20, 2025

In addition to the “exeoutput” JavaScript object available in ExeOutput applications, ExeOutput for PHP extends the window object, particularly to manage secondary windows or pop-ups. CEF Engine Only These window object extensions are only available with the CEF rendering engine. They are not supported by the WebView2 engine. For WebView2, please use the methods of...

Special Protocols for Links

Last Updated: September 20, 2025

ExeOutput for PHP provides pre-defined protocols for hyperlinks within your applications, which can also be utilized for menu items. Syntax: <a href="[protocol][destination URI]">Your link</a> List of predefined protocols heopenit:// + virtual path to the file you want to open with the external application associated with its file type (for example, heopenit://mydoc.doc will extract and open...

HTML5 and CSS3 Support

Last Updated: September 20, 2025

Applications created with ExeOutput for PHP use the Chromium rendering engine, which provides native support for modern web standards. Features such as HTML5 Canvas, Web Storage, WebRTC, and CSS3 animations are fully supported. WebRTC Requirements Using WebRTC requires a secure context. Therefore, you must meet the following conditions: Ensure that the “Use secure HTTPS for...

Using HTML5 Video and Audio

Last Updated: September 20, 2025

Applications created with ExeOutput for PHP can play video and audio directly on webpages using the HTML5 <video> and <audio> tags. The autoplay attribute is fully supported. For example, this HTML code will play a video with standard browser controls: <video id="video" loop autoplay controls> <source src="/assets/sunpeek.webm" type="video/webm" /> </video> File Management You have two...

Print, Kiosk Printing, and PDF

Last Updated: September 20, 2025

Applications created with ExeOutput for PHP can print webpages directly to a printer or save them as PDF files. You can customize various properties of the printing process using the “Printer” component. Print Preview By default, print preview is enabled. This means users will see the following dialog box when they select “Print”: Tip You...

Opening New Windows

Last Updated: September 20, 2025

ExeOutput for PHP effectively handles pop-ups and secondary windows, allowing you to open them using the standard _blank target in your links. To control the size of a new window, use the window.open JavaScript method: var myWindow = window.open("mypage.php", "", "width=200,height=100"); Tip The window.moveTo() and window.resizeTo() JavaScript methods are also supported. Additionally, you can directly...

JavaScript window extension

Last Updated: September 15, 2025

In addition to the “exeoutput” JavaScript object available in ExeOutput applications, ExeOutput for PHP extends the window object, particularly to manage secondary windows or pop-ups. Tip The following examples can be tested in the Secondary Windows and Popups topic of the General Demonstration. The following commands are available: window.open window.open() is fully supported. You can...

Using Flash Objects (SWF) in Compiled Applications

Last Updated: September 20, 2025

Adobe Flash® was a popular format for delivering rich web content over the internet via the Adobe® Flash Player. ExeOutput for PHP applications can still display Flash content (in SWF format) under certain conditions. Warning Adobe Flash has been discontinued, and HTML5 is recommended as an alternative. We do not provide technical support or assume...

Adding Custom Headers to Requests

Last Updated: September 20, 2025

Some applications built with ExeOutput for PHP function as custom browsers for navigating websites. You can add custom headers to HTTP requests, allowing you to identify the user by passing a browser/machine ID and take appropriate actions. Note Headers are name/value pairs that appear in both request and response messages. The header name is separated...

How to Configure Proxy for Your App

Last Updated: September 21, 2025

You can configure your application to use a proxy server for connecting to the Internet, rather than connecting directly. Info The following proxy server instructions apply only to the Chromium rendering engine, not to PHP. Place the following code in the UserMain HEScript script: procedure OnStartMainWindow; begin // This code runs just before the homepage...

HTTP Basic Authentication

Last Updated: September 20, 2025

HTTP Basic Authentication in Applications with Integrated Browser When accessing a webpage protected by HTTP Basic Authentication (e.g., via .htaccess), a dialog box prompts for username and password. ExeOutput for PHP can display a “Remember my credentials” checkbox, allowing users to save credentials. The checkbox text can be customized using the SRememberCredentials resource string. Managing...