ADDITIONAL SYSTEM INFORMATION :
JAVA 8 UPDATE 361 - WINDOWS 10 PRO
A DESCRIPTION OF THE PROBLEM :
WEBBROWSER BLOCKED BY HCAPTCHA / CLOUDFLARE. PAGE REDIRECTED NOT RELOAD. BLOCKED !
REGRESSION : Last worked in version 8u361
ACTUAL -
REDIRECTED PAGE DOES NOT RELOAD
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class CL_WebBrowser1 extends Application {
public static void main(String[] args) {
System.setProperty("sun.net.http.AllowRestrictedHeaders", "true");
launch(args);
}
public void start(Stage primaryStage) {
primaryStage.setTitle("JavaFX WebView Example");
WebView webView = new WebView();
webView.setContextMenuEnabled(false);
webView.getEngine().setUserAgent("use required / intended UA string");
webView.getEngine().setJavaScriptEnabled(true);
webView.getEngine().load("https://www.yell.com"); // BLOCKED BY HCAPTCHA / CLOUDFLARE
//webView.getEngine().load("https://www.pagesjaunes.fr"); // BLOCKED BY HCAPTCHA / CLOUDFLARE
VBox vBox = new VBox(webView);
Scene scene = new Scene(vBox, 960, 600);
primaryStage.setScene(scene);
primaryStage.show();
}
}
---------- END SOURCE ----------
FREQUENCY : always