Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091753

WebView/WebEngine should provide a way to control navigation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • web

      It is hard to build a 'child-safe' custom browser, as there is currently no simple way to veto location changes.
      While you could scrape the hyperlinks after the page is loaded, and manipulate them, it would be a lot easier if a developer could just specify a 'navigateRequestHandler' callback.
      The semantics are simple: unless the callback is set and returns Boolean.FALSE the user can navigate to the new location

            Unassigned Unassigned
            duke J. Duke
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: