Monday, June 3, 2024
91
rated 0 times [  93] [ 2]  / answers: 1 / hits: 18077  / 14 Years ago, wed, january 19, 2011, 12:00:00

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?


More From » google-chrome-extension

 Answers
94

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});

[#94145] Tuesday, January 18, 2011, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jazminkyrap

Total Points: 631
Total Questions: 89
Total Answers: 109

Location: Finland
Member since Fri, Oct 21, 2022
2 Years ago
;