call from javascript using chrome extension

  • 1
  • Question
  • Updated 2 years ago
The Chrome extension works great, but I need to run a function before dialing the number from my website. Like:

<button type='button' onclick=makecall('".$result->PHONE."')>".$result->PHONE."</button>

function makecall($number){

Is there a function in the chrome extension I can call to send the number to the dialer?
Photo of Tommy Figgs

Tommy Figgs

  • 70 Points
  • frustrated

Posted 2 years ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,724 Points 5k badge 2x thumb
RingCentral Chrome Extension is not open source and we don't provide any public API for it. So I am afraid that it doesn't exist.