Settings.allowUniversalAccessFromFileUrls

Set allowUniversalAccessFromFileUrls property.

  1. bool allowUniversalAccessFromFileUrls [@property getter]
  2. bool allowUniversalAccessFromFileUrls [@property setter]
    class Settings
    @property
    void
    allowUniversalAccessFromFileUrls
    (
    bool propval
    )

Parameters

propval bool

Whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. By default, when something is loaded in a #WebKitWebView using a file scheme URL, access to the local file system and arbitrary local storage is not allowed. This setting allows you to change that behaviour, so that it would be possible to use local storage, for example.