WLWebview Kiosk
Settings

Web Content

Home URL, blacklist, whitelist, bookmark, files

1. Home URL

Configure the Home URL, which can be returned to as per Web Browsing -> Allow Go Home.

Default: https://webviewkiosk.nktnet.uk

2. Blacklist & Whitelist Regex

Specify regular expressions (regex), one per line. Escaping is required for special characters in regex like . and ?.

These patterns also use partial matching. If you need strict control, anchor your regex with ^ and $.

Whitelist patterns take precedence over blacklist patterns.

Default: (blank)

2.1. Blacklist Example

Block all:

.*

Block google, including all subdomains and paths:

^https://.*\.?google\.com/?.*

2.2. Whitelist Example

Allow the https://trusted.org home page, as well as its subdomains and paths, to bypass the blacklist:

^https://trusted\.org(/.*)?$
^https://.*\.trusted\.org(/.*)?$

2.3. Regex Playground

3. Bookmarks

Specify bookmarked URLs one per line. Blank lines will be ignored.

This is accessible in the address bar. See the relevant setting Web Browsing -> Allow Bookmark Access.

You can also specify a title for display in the format: <URL> | <Title>.

For example:

https://webviewkiosk.nktnet.uk | Webview Kiosk

https://duckduckgo.com | DuckDuckGo

https://f-droid.org | F-Droid

Default: (blank)

4. Support PDF Rendering

Set to true to support PDF Rendering using Mozilla's PDF.js renderer:

You will first need to download the renderer by opening the popup menu for this setting and clicking the Download PDF.js assets button.

Remote PDF files are loaded through a dummy endpoint:

which gets locally routed to the downloaded PDF.js renderer using the WebViewAssetLoader API:

Default: false

5. Allow Local Files

Allow the WebView to open local files such as HTML, PDF, images, audio, video and text. Upload and manage these files under Settings → Web Content → Manage Local Files.

When this setting is enabled, open the uploaded files from the Files action in the address bar menu () or the kiosk control panel (if that action is configured).

Default: true

6. Enable Content Blocking

Enable to block ads, malware and trackers using filter lists.

In Settings → Web Content → Content Blocking, you can add lists of the following types:

TypeDescription
PresetChoose a ready-made list from uBlock Origin, EasyList, AdGuard or HaGeZi
URLAdd a filter list using its HTTP or HTTPS address
CustomPaste your own blocking rules or import a text file

Default: true

Last updated on

On this page