Re: [crx] How can I use fullscreen on chrome extension manifest 3

163 views
Skip to first unread message

Simeon Vincent

unread,
Oct 6, 2023, 4:59:33 PM10/6/23
to - Yoon, Chromium Extensions
You appear to be using a Chrome App, not an extension; your manifest.json has an "app" key and your background.js file calls chrome.app APIs. Chrome Apps are deprecated and no longer run on any platform except Chrome OS.

I'm not sure when, exactly, but it looks like Chrome stopped Kiosk Apps a few years ago. Chrome now recommends developing a PWA and launching it in kiosk mode. See Connecting an Extension from a Kiosk PWA a for additional details. Google provides a few other useful resources related to kiosk mode:
I've also gathered a couple other links from 3rd parties about kiosk mode

Simeon - @dotproto


On Fri, Oct 6, 2023 at 2:54 AM - Yoon <firbi...@gmail.com> wrote:
Hello. I used to make chrome extension as some exhibition kiosk. 
But after 2023, I can't use fullscreen. How can I use them on v3 please?
I tried to find out how to use them, but still hard to do... 
please help... 😵‍💫

manifest.json

{
"name": "zemix-nationalmuseum-celadon-01",
"description": "zemix-nationalmuseum-celadon-01",
"author": "studio grizzle",
"version": "0",
"manifest_version": 2,
"permissions": ["serial", "fullscreen", "overrideEscFullscreen"],
"minimum_chrome_version": "23",
"app": {
"background": {
"scripts": ["background.js"],
"persistent": false
}
},
"icons": { "16": "favicon-16x16.png", "32": "favicon-32x32.png", "192": "favicon-192x192.png", "512": "favicon-512x512.png" }
}
background.js
chrome.app.runtime.onLaunched.addListener(function () {
chrome.app.window.create(
"index.html",
{
"bounds": {
"width": 1920,
"height": 1080,
},
},
function (window) {
window.fullscreen();
}
);
});


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/afe4e139-b2c1-4f1d-aa32-c77326bfbed5n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages