JavaScript-Java Bridge

A replacement for the Java Plugin, so Java Applets that use LiveConnect but have no graphics continue to work.

什麼是JavaScript-Java Bridge?

JavaScript-Java Bridge是由https://advancedcontrols.com.au開發的Chrome擴展程式,該擴展的主要功能是“A replacement for the Java Plugin, so Java Applets that use LiveConnect but have no graphics continue to work.”。

擴展截圖

screenshot
screenshot

下載JavaScript-Java Bridge擴展crx文件

下載JavaScript-Java Bridge擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        A web browser is a good user interface for a native application. The Java browser Plugin provided an easy way for Java programs, configured as Applets, to manipulate webpages, and for the webpages to both get and set Java fields and call Java methods via the LiveConnect API (https://www.oracle.com/technetwork/java/javase/overview/liveconnect-docs-349790.html). This was in addition to the ability of Applets to display their graphics in a rectangle on their webpages.

However both the Java Plugin and Applets are now being deprecated as security and browser-stability risks. Continued use of them requires use of an older browser version, and soon an older Java version.

This extension and associated Java library allows Applets which display no graphics but only interact with JavaScript and the DOM to continue to be used on current browser and Java versions with minor changes on both the Java and JavaScript sides. Display of Applet graphics may be supported in the future.

The alternative to using this extension to turn a browser into a Java user interface would be to write the Java Program as a backend API, and have the browser frontend interact with this via Ajax/XMLHttpRequest calls, perhaps under a framework such as React. This does have the advantage of weak coupling, allowing the backend and frontend to be separately developed, and simultaneously accessed from multiple browsers. But, besides the obvious advantage for UIs already written as Applets, the remote procedure call and remote DOM manipulation paradigm of JSJBridge/LiveConnect, and the automatic start-stop synchronisation of the front and back ends, can continue to make this an easy, efficient, fast, and powerful solution.

Licence:

This extension and its associated Java library are licensed under Version 1 of the DevWheels Licence (https://devwheels.com). Read the licence for the precise conditions, but a simple summary would be:

1. You can use this package without payment for evaluation, internal testing, and development work on your application or fork.

2. However you must pay me AUD $20 for each browser on which this is installed and otherwise run.

3. The cost of an update is the difference between the costs of the versions you are upgrading between.

4. You can release your own modified or unmodified version, and charge what you like, as long as you keep the same licence, which means complying with point 2 and forwarding AUD $20 to me for each production installation.

The advantage of this licence is that it both retains the enhanced debugging, customisation, risk-mitigation, and community development of Free/Open Source software (its most important features IMHO), while making it practical for developers to earn a living directly from their software (or their documentation writing, or their marketing nous).

If you have an idea for, or an implementation of, enhancements, I encourage you see whether they can be incorporated into my extension rather than publishing your own fork. We may be able to come to an agreement for a revenue share, and reduce the number of similar extensions.

The JSJBridge source code: https://github.com/mrj/jsjbridge
  
Migrating from Applets and the Java Plugin to WebpageHelpers and JSJBridge: https://github.com/mrj/jsjbridge/blob/master/MigrationInstructions.md                    

擴展基本資訊

名稱 JavaScript-Java Bridge JavaScript-Java Bridge
ID beglnkgbajkhcmmdkldmgbkggoeegabe
官方網址 https://chromewebstore.google.com/detail/javascript-java-bridge/beglnkgbajkhcmmdkldmgbkggoeegabe
簡介 A replacement for the Java Plugin, so Java Applets that use LiveConnect but have no graphics continue to work.
檔案大小 23.32 KB
安裝次數 32,922
目前版本 1.81
更新時間 2020-06-18
上架時間 2020-06-17
評分 1.00/5 共 2 次評分
開發者 https://advancedcontrols.com.au
電子郵箱 [email protected]
付費類型 in_app
支援的語言 en-GB
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "JavaScript-Java Bridge",
    "short_name": "JSJBridge",
    "version": "1.81",
    "description": "A replacement for the Java Plugin, so Java Applets that use LiveConnect but have no graphics continue to work.",
    "minimum_chrome_version": "63",
    "icons": {
        "128": "jsjbridge-icon-128x128.png",
        "48": "jsjbridge-icon-48x48.png",
        "16": "jsjbridge-icon-16x16.png"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "all_frames": true,
            "run_at": "document_start",
            "js": [
                "content.js"
            ]
        }
    ],
    "web_accessible_resources": [
        "jsjbridge.js"
    ],
    "background": {
        "scripts": [
            "background.js"
        ],
        "persistent": true
    },
    "options_ui": {
        "page": "options.html",
        "chrome_style": true
    },
    "permissions": [
        "nativeMessaging",
        "storage"
    ]
}