Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
JavaScript-Java Bridge 预览

JavaScript-Java Bridge 作者: Advanced Machine Controls

A replacement for the Java Plugin so Java Applets without graphics continue to work on browsers that no longer support NPAPI plugins. Java's LiveConnect API is emulated — data & method calls can be exchanged, and Java can manipulate the webpage DOM.

某些功能可能需要付费某些功能可能需要付费
4.3 (21 reviews)4.3 (21 reviews)
29,427 个用户29,427 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
JavaScript-Java Bridge allowing Firefox 65 to be the touchscreen UI of a Java PLC freezer controller, previously-written as an invisible Applet, working through LiveConnect.JavaScript-Java Bridge allowing Chromium 72 to be the touchscreen UI of a Raspberry Pi Java PLC Heat Treatment unit.
关于此扩展
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. 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 Firefox extension and 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. 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.

Migrating from Applets and the Java Plugin to WebpageHelpers and JSJBridge

See the migration instructions.
评分 4.3(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
17
4
0
3
0
2
1
1
3
阅读全部 21 条评价
权限与数据详细了解

必要权限:

  • 与 Firefox 之外的其他程序交换信息
  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 用户支持网站
  • 支持邮箱
版本
1.81
大小
22.41 KB
上次更新
5 年前 (2020年10月14日)
相关分类
  • 网页开发
许可证
DevWheels V1
最终用户许可协议
阅读此附加组件的许可协议
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
1.81 的发布说明
For an unknown reason, the Preferences window was not appearing on Version 1.8.
Advanced Machine Controls 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。