google-chrome-os

Remove fullscreen window decoration/border Chrome OS app/kiosk mode

丶灬走出姿态 提交于 2020-01-11 09:20:14
问题 I have a web application that I want to run in kiosk mode on a chromebox. So far I've pretty much got it all working, but I can't seem to get rid of the annoying big white border around the screen. A screenshot of the top left corner of the screen (fullscreen). I have added a black border to outline the image. My web application starts at the blue, the white border is added by Google Chrome. My app's manifest.json : { "manifest_version": 2, "name": "snipped", "description": "snipped",

Remove fullscreen window decoration/border Chrome OS app/kiosk mode

空扰寡人 提交于 2020-01-11 09:20:13
问题 I have a web application that I want to run in kiosk mode on a chromebox. So far I've pretty much got it all working, but I can't seem to get rid of the annoying big white border around the screen. A screenshot of the top left corner of the screen (fullscreen). I have added a black border to outline the image. My web application starts at the blue, the white border is added by Google Chrome. My app's manifest.json : { "manifest_version": 2, "name": "snipped", "description": "snipped",

How to enable camera and microphone in packaged application for Chrome OS or Chrome extension?

喜你入骨 提交于 2020-01-02 07:29:26
问题 I'm testing scenario where I call a hangouts web page in separate window but application doesn't have access to microphone and camera - buttons are red and message says that "Hangouts can't use the selected microphone/camera". I have included in permissions "audioCapture" and "videoCapture" . What has to be done to make it work? Edit: After allowing media app has access to camera and microphone - I can see that in settings of hangouts but picture and voice are not transmitted over the

iOS Share Extension is not working in Chrome

半世苍凉 提交于 2020-01-01 04:38:26
问题 Works for Safari, Doesn't work for Chrome Maybe the question is simple and stupid but I am new to iOS Development and I cannot find any right solution to solve this issue. I need to get: 1) page url 2) page name Extension Info.plist <dict> <key>NSExtensionAttributes</key> <dict> <key>NSExtensionActivationRule</key> <dict> <key>NSExrensionActivationSupportsText</key> <true/> <key>NSExtensionActivationSupportsFileWithMaxCount</key> <integer>1</integer> <key

Why is this Google Chrome (Hosted) App invalid for Kiosk mode?

混江龙づ霸主 提交于 2019-12-29 08:45:19
问题 I have been trying to make a Kiosk Mode App from my Chrome book. But when I go into the "Manage Kiosk Applications" and enter in the Chrome Store URL for my app, I get a "Invalid Application" error, but if i just install the app from the store, it installs just fine (though it doesn't appear Extension page, but does in the applications menu). So I assume I have done something incorrectly with App manifest. here is my manifest (just changed the names and urls as it's private application) {

Failed to connect to USB on chromebook: Permission to access device was denied

别说谁变了你拦得住时间么 提交于 2019-12-24 17:39:46
问题 I'm writing app for chromebook that has to communicate with specific USB device. The device is present in the list of found devices, that comes from callback: var VENDOR_ID = 5824, PRODUCT_ID = 1159; document.getElementById("request-permission").addEventListener('click', function() { chrome.permissions.request({ permissions: [{ 'usbDevices': [{ 'vendorId': VENDOR_ID, "productId": PRODUCT_ID }] }] }, function(result) { if (result) { console.log('App was granted the "usbDevices" permission.');

Where to register the Native Messaging Host in Chrome OS

二次信任 提交于 2019-12-13 01:00:00
问题 In this documentation there's the location for Windows, Mac OS and Linux. I assumed Chrome OS would work the same as "standard" linux, but i couldnt get my app working ... com.my_app.host.json (located in /etc/opt/chrome/native-messaging-hosts/) { "name": "com.my_app.host", "description": "My Host", "path": "/home/user/bfd93db2180e0d7645b1f4cce2d2c7ed9e0d835c/Downloads/host.sh", "type": "stdio", "allowed_origins": [ "chrome-extension://APP_ID/" ] } main.js var port = null; var getKeys =

Chrome Extension: How to List The Contents of Local Directory

元气小坏坏 提交于 2019-12-12 08:39:16
问题 What I want to do: I want to create a Chrome extension for test purposes. And that extension should be able to access the directories and files on the local hard drive . How I did It: I requested permissions for file:///* in my manifest.json file. Then I made sure that the checkbox Allow access to file URLs was checked. Then I made a XHR for a file: var xhr = new XMLHttpRequest(); xhr.open("GET", 'file://c:/dir/file.name', true); xhr.onload = function(e) { console.log('response: ', xhr

Prevent kiosk mode webview link from opening new tab

懵懂的女人 提交于 2019-12-12 03:05:37
问题 I've created a chrome app that opens in kiosk mode, inside my chrome app i have a webview which is similar to an iframe except it works for chrome apps. On the website inside the webview there is a link that tries to open in a new tab, and fails.. At the moment it just does nothing when the button is clicked. Is there a way to make all links inside the webview not open in new tabs? Or is there any other work around that you can think of? I firebugged the link and this is what it says (i was

Is it possible to create a binary extension that can run on Chrome OS?

ε祈祈猫儿з 提交于 2019-12-11 13:32:02
问题 Chrome supports binary extensions on all platforms. But I cannot decide whether Chrome OS supports them too... 回答1: Nope, they are disabled on purpose. See this, this, this. 回答2: They don't support NPAPI, but they do support the new native client architecture NaCL. For more information regarding the difference: http://dev.chromium.org/nativeclient/getting-started/getting-started-background-and-basics If your binary extension uses PPAPI rather than NPAPI, it will definitely work on Chrome OS.