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

246
Views
How to create a Popup window in an extension?

I tried to create a popup window in the extension that I pull through GreasyFork, but since there is only JS there, I can’t bring the window to the output. How can I create a popup window in js?

I tried to wrap it in a function and substitute it in my own execution conditions, but how to attach the rest? if they are not considered in js? enter image description here I also tried that, but it doesn't work either enter image description here

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

İf you want open a new window:

chrome.windows.create({
   url: 'popup.html',
   type: 'popup', width: 400, height: 400,
});

İf you want open with on new tab:

chrome.tabs.create({ url:"popup.html" });

But you must add "tabs" permission to use this method.

about 4 years ago · Juan Pablo Isaza Report

0

You should handle this in the manifest file. read this

about 4 years ago · Juan Pablo Isaza Report
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!