Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

400
Views
Catch a Javascript response using PHP?

I was wondering is it possible to catch a Javascript response using PHP?

I'm calling this

const requestPermission = (callback) => {
    client
      .requestPermissions(/*{ network: { type: beacon.NetworkType.DELPHINET } }*/)
      .then((permissions) => {
        console.log('permissions', permissions)
        if (callback) {
          callback(permissions)
        }
        updateActiveAccount()
      })
      .catch((error) => {
        console.log('error during permission request', error)
      })
  }

Using client.requestPermissions()

Once I allow permissions, pending response fullfills as follow: enter image description here

What I need is address as soon as response appears (prior any client edits, injections), is it doable? Thanks

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!