JavaScript-Java Bridge 版本紀錄 - 2 個版本
JavaScript-Java Bridge 作者: Advanced Machine Controls
JavaScript-Java Bridge 版本紀錄 - 2 個版本
小心舊版本!這些版本只是提供來測試與參考用。您應該隨時用最新版的附加元件。
最新版本
版本 1.81
發行於 2020年10月14日 - 22.41 KB適用於 firefox 58.0 與更新版本For an unknown reason, the Preferences window was not appearing on Version 1.8.原始碼依照 DevWheels V1 條款釋出
下載 Firefox 並安裝擴充套件必須使用 Firefox 才能使用此擴充套件較舊版本
版本 1.8
發行於 2020年6月15日 - 22.32 KB適用於 firefox 58.0 與更新版本The jsjbridge.jar Version 1.8 Java library:
- Embed JSON code to remove the external json.jar dependency.
- Retry waits for request replies when the thread is interrupted.
Trigger a JavaScriptwindow.jsjbridgeActive
event when the JSJBridge code has been loaded andgetElementById
calls return a Java proxy rather than a normal HTML element.
Code can now be like
addEventListener('jsjbridgeActive', function() {
var myHelper = document.getElementById('myApplet');
myHelper.addEventListener('initialized', function() { ... });
});
instead of
var myHelper = document.getElementById('myApplet');
myHelper.addEventListener('initialized', function() {
myHelper = document.getElementById('myApplet');
...
});
Disable the ability of Java to calleval
on a JavaScript string. Mozilla believes this original feature ofJSObject
to be a security risk. It is still present on the Chrome/Chromium extension.原始碼依照 DevWheels V1 條款釋出
- Embed JSON code to remove the external json.jar dependency.