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

Latest Version

Version
1.81
Update
June 17, 2020
Size
23.32KiB
Developer
advancedcontrols.com.au
Category
Users
30,000+
Rating
1 ★
Manifest Version
2
Web Store Status
Languages Support
English (UK)
See more
Permissions
NativeMessaging
Storage
See more

JavaScript-Java Bridge Extension

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
Read more

Source 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" ]}
Read more

How to download and manually install JavaScript-Java Bridge extension for Chrome

Looking for a way to install JavaScript-Java Bridge extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install JavaScript-Java Bridge extensions manually, this article outlines two simple methods to effortlessly install JavaScript-Java Bridge extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download JavaScript-Java Bridge extension and manually install through Drag &Drop

If you ever need to manually install a JavaScript-Java Bridge extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the JavaScript-Java Bridge Extension by clicking the "Download CRX" button on the website.

Look for the JavaScript-Java Bridge extension you wish to install. Go to the website and download the JavaScript-Java Bridge extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for JavaScript-Java Bridge extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the JavaScript-Java Bridge extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download JavaScript-Java Bridge extension for Chrome and install in Developer Mode

This is another method to install JavaScript-Java Bridge extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the JavaScript-Java Bridge extension file

Select and download the JavaScript-Java Bridge extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the JavaScript-Java Bridge extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your JavaScript-Java Bridge extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the JavaScript-Java Bridge extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install JavaScript-Java Bridge extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

JavaEE API Search Extension · Developer Tools 30,000+ 28 ★ 83.9KiB

icon

Enable JavaScript Extension · Productivity 30,000+ 6 ★ 197KiB

icon

Java Assist Extension · Developer Tools 30,000+ 4 ★ 28.96KiB

icon

CheerpJ Applet Runner Extension · Productivity 30,000+ 264 ★ 120MiB

icon

Quick Javascript Switcher Extension · Developer Tools 30,000+ 804 ★ 203KiB

icon

Advanced Java Launch Extension · Productivity 30,000+ 3 ★ 35.05KiB

icon

Toggle JavaScript Extension · Developer Tools 30,000+ 183 ★ 24.5KiB

icon

Comunicación WEB-JAVA NWJ Extension · Productivity 30,000+ 1 ★ 20.62KiB

icon

JavaAPI (Javadoc) Redirector Extension · Developer Tools 30,000+ 2 ★ 28.96KiB

icon

Javadoc Redirector Extension · Productivity 30,000+ 6 ★ 26.16KiB

icon

My Java Zone Extension Extension · Developer Tools 30,000+ 28 ★ 674KiB

icon

ACT Browser Applet Extension · Productivity 30,000+ 0 ★ 788KiB

icon

Java Class to JSON Extension · Developer Tools 30,000+ 1 ★ 69.33KiB

icon

ThinForms Enterprise - for Oracle Forms + EBS Extension · Productivity 30,000+ 49 ★ 26.65KiB

icon

Applet2Object Extension · Photos 30,000+ 7 ★ 10.41KiB

icon

JSON to Java object Extension · Developer Tools 30,000+ 2 ★ 271KiB

icon

Run Javascript Extension · Developer Tools 30,000+ 46 ★ 2.18MiB

icon

Fix IDRAC .jnlp file Extension · Developer Tools 30,000+ 13 ★ 3.14KiB

icon

XML Viewer Extension · Productivity 30,000+ 23 ★ 79.83KiB

icon

CheerpJ JNLP Runner Extension · Productivity 30,000+ 2 ★ 119MiB

icon

IEability - Open in IE Extension · Productivity 30,000+ 106 ★ 1.09MiB

icon

User JavaScript and CSS Extension · Developer Tools 30,000+ 564 ★ 1.62MiB

icon

Cloud Browser Extension · Productivity 30,000+ 5 ★ 306KiB

icon

JavaScript Injector Extension · Developer Tools 30,000+ 33 ★ 397KiB

User reviews

icon

Eva Cabral (ID: 000000c71e4fdce2) Voted 1 ★ - Updated 07/12/2020 Does this even work??

icon

Francisco Souza (ID: 0000007cac7342ef) Voted 1 ★ - Updated 02/20/2020 Não funciona.