JDK-8301091 : WEBBROWSER BLOCKED BY HCAPTCHA / CLOUDFLARE
  • Type: Bug
  • Component: javafx
  • Affected Version: 8u361
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2023-01-22
  • Updated: 2023-01-25
  • Resolved: 2023-01-25
Related Reports
Duplicate :  
Description
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



Comments
Duplicate of JDK-8281048, from the same submitter.
25-01-2023

Removing regression label, as the affected version and Last worked in version is same
25-01-2023