List icon 目录

发布日期 2025年6月5日

JxBrowser 8.8.0

Download files in one call

Starting with JxBrowser 8.8.0, you can download any file without navigating to it:

browser.downloadUrl("https://example.com/avatar.png");

The browser will send a request with appropriate cookies saved for a domain. If the URL is valid and the server responds with a downloadable resource, the browser will start downloading.

To control the downloading process, use the StartDownloadCallback as we describe in the Downloads guide.

Clear browsing data with precision

Now, you can clear passwords, HTTP cache, and cookies created within a specific time range:

Instant twoDaysAgo = ...;
Instant today = ...;

profile.httpCache().clear(TimeRange.startingFrom(twoDaysAgo));
profile.cookieStore().deleteAll(TimeRange.upTo(today));
profile.passwordStore().clear(TimeRange.between(twoDaysAgo, today));

Point inspection on right-click

When a user opens a context menu in the browser view, you may want to know where exactly the user clicked and which element was under the mouse pointer.

Previously, the ShowContextMenuCallback provided this information only for the main frame.

In this version, we extended ShowContextMenuCallback with frame() and locationInFrame() methods, which allow you to know the exact frame and local coordinates of the right click:

browser.set(ShowContextMenuCallback.class, (params, tell) -> {
    params.frame().ifPresent(frame -> {
        Point clickLocation = params.locationInFrame();
        PointInspection inspection = frame.inspect(clickLocation);
        ...
    });
    ...
});

Absolute bounds of elements

Up to this version, you could only get the bounds of an HTML element relative to its frame. In this version, we have added the boundingClientRectInViewport() method that returns global bounds an element, relative to the viewport:

var localBounds = element.boundingClientRect();
var globalBounds = element.boundingClientRectInViewport();

Chromium 137.0.7151.69

We upgraded Chromium to a newer version, which introduces major security fixes including the fix for a vulnerability that have known exploits:

You can read more about it in the Chromium blog posts:

Quality enhancements

  • Fixed the issue when mouse input was forwarded to the browser from another window on Windows in the OFF_SCREEN mode.
  • Fixed empty thumbnails in StartCaptureSessionCallback.
  • Replaced architecture-specific JNI binary files with universal ones on macOS.

下载 JxBrowser 8.8.0

请提供您的电子邮箱地址,我们会尽快将下载说明发送给您。

发送...
EmailBox 请检查您的收件箱。

我们无法发送电子邮件。请使用直接链接下载JxBrowser。

如果您已经是我们的注册客户,您无需任何操作,即可轻松享受此次更新。

如果您希望深入了解并体验我们的产品,您可以申请评估许可证。

获取免费 30 天体验