Since Firefox blocks inline event handlers in browser.xhtml (https://bugzilla.mozilla.org/show_bug.cgi?id=1942991) at least the following code will not work anymore:
|
'(' + addressInputHandle.toString() + ')()' |
|
const menuItem = this.createElement(document, 'menuitem', { id: 'contextmenu-openlinkdefault', 'data-l10n-id': 'context-menu-open-link-default-browser', oncommand: 'gContextMenu.openLinkInDefaultBrowser()' }); |
|
menuItem.setAttribute('oncommand', `OpenPwaShortcut("${sanitizeString(item.url)}");`); |
Since Firefox blocks inline event handlers in browser.xhtml (https://bugzilla.mozilla.org/show_bug.cgi?id=1942991) at least the following code will not work anymore:
PWAsForFirefox/native/userchrome/profile/chrome/pwa/content/browser.sys.mjs
Line 184 in f522eba
PWAsForFirefox/native/userchrome/profile/chrome/pwa/content/browser.sys.mjs
Line 200 in f522eba
PWAsForFirefox/native/userchrome/profile/chrome/pwa/content/macosHiddenWindow.sys.mjs
Line 24 in f522eba