Module implementing tool functions for the web browser.
| WebBrowserDataDirectory |
| None |
| containsSpace | Function to check, if a string contains whitespace characters. |
| ensureUniqueFilename | Module function to generate an unique file name based on a pattern. |
| filterCharsFromFilename | Module function to filter illegal characters. |
| getFileNameFromUrl | Module function to generate a file name based on the given URL. |
| getHtmlPage | Module function to load a HTML page. |
| getJavascript | Module function to load a JavaScript source file. |
| getWebEngineVersions | Module function to extract the web engine version from the default user agent string. |
| pixmapFileToDataUrl | Module function to load a pixmap file and convert the pixmap to a data: URL. |
| pixmapFromByteArray | Module function to convert a byte array to a pixmap. |
| pixmapToByteArray | Module function to convert a pixmap to a byte array containing the pixmap as a PNG encoded as base64. |
| pixmapToDataUrl | Module function to convert a pixmap to a data: URL. |
| readAllFileByteContents | Function to read the bytes contents of the given file. |
| readAllFileContents | Function to read the string contents of the given file. |
Function to check, if a string contains whitespace characters.
Module function to generate an unique file name based on a pattern.
Module function to filter illegal characters.
Module function to generate a file name based on the given URL.
Module function to load a HTML page.
Note: If the given HTML file path is not absolute, it is assumed to denote a HTML file in the html data directory.
Module function to load a JavaScript source file.
Note: If the given JavaScript source file path is not absolute, it is assumed to denote a JavaScript source file in the javascript data directory.
Module function to extract the web engine version from the default user agent string.
Module function to load a pixmap file and convert the pixmap to a data: URL.
Note: If the given pixmap file path is not absolute, it is assumed to denote a pixmap file in the icons data directory.
Module function to convert a byte array to a pixmap.
Module function to convert a pixmap to a byte array containing the pixmap as a PNG encoded as base64.
Module function to convert a pixmap to a data: URL.
Function to read the bytes contents of the given file.
Function to read the string contents of the given file.