Settings.allowTopNavigationToDataUrls

Set allowTopNavigationToDataUrls property.

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

Parameters

propval bool

Whether or not the top frame is allowed to navigate to data URLs. It is disabled by default due to the risk it poses when loading untrusted URLs, with data URLs being used in scamming and phishing attacks. In contrast, a scenario where it could be enabled could be an app that embeds a WebView and you have control of the pages being show instead of a generic browser.