Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome.windows.create help

How would I open a local html file that is located within a chrome.windows.create? also, is it possible to make the chrome.windows.create non scrollable, no toolbars, etc?

like image 442
Skizit Avatar asked Dec 09 '22 11:12

Skizit


1 Answers

What about:

chrome.windows.create({url: "local.html", type: "popup"});

I think it should understand local path, if not then:

chrome.windows.create({url: chrome.extension.getURL("local.html"), type: "popup"});
like image 143
serg Avatar answered Dec 30 '22 17:12

serg