Context:
Aircall is a VOIP service we use in my work as tied to Hubspot. It has a Chrome extension which lets you click a phone number and directly paste it into Aircall's app / webapp to then dial out. Currently works using Chrome / Arc / Vivaldi but do not like any of them and really want to use Orion.
Issue:
Cannot login to extension
Steps to reproduce:
Download Aircall dialer addon > login > nothing happens (red lock does not disappear signalling logged out)
Console error:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating '(await chrome.runtime.getContexts({contextTypes:[chrome.runtime.ContextType.OFFSCREEN_DOCUMENT],documentUrls:[r]})).length')
Code it relates to:
}
!async function(e) {
const r = chrome.runtime.getURL(e);
(await chrome.runtime.getContexts({
contextTypes: [chrome.runtime.ContextType.OFFSCREEN_DOCUMENT],
documentUrls: [r]
})).length > 0 || (io ? await io : (io = chrome.offscreen.createDocument({
url: chrome.runtime.getURL(e),
reasons: [chrome.offscreen.Reason.LOCAL_STORAGE, chrome.offscreen.Reason.IFRAME_SCRIPTING],
justification: "Call API, tracking, and logging"
}), await io, io = null))
}("offscreen.html"),
ao.init(),
async function() {
co().then((() => {
so = setInterval(co, 2e4)
}))
The application should log in and then let you click a green phone icon beside a phone number to dial via Aircall VOIP.
Below is a video of it logging in via Arc browser.
Version 0.99.130.2-beta (WebKit 621.1.2.111.4) Build date Dec 28 2024 MacBook Air (macOS Sequoia 15.3 build 24D60)
Sequoia (15)