Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to adjust popup.html to full screen in chrome extension

I'm new to chrome extension development. I have some questions: 1. I tried my best to set the width of popup.html to full screen. But, couldn't. Is there any way. 2. When I switch tab in chrome, the extension is closing. Is there any way to remain even when the focus is switched from the extension. 3. popup.html looks like hanging from the extension icon in the tool bar. Is it possible to detach from there.


1 Answers

In popup code

chrome.windows.create({
    state: "fullscreen",
    url: location.url
})
like image 60
tscpp Avatar answered Oct 29 '25 00:10

tscpp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!