google-chrome-app

Chrome app window cannot be moved partially outside of screen using moveTo

Deadly 提交于 2019-12-10 09:47:18
问题 When a Chrome app window is moved to the edge of the screen using the mouse, the window can be moved partially outside of the screen. However when trying to move a Chrome app window beyond the screen using the moveTo function it remains snapped to the edge of the screen. Is there any other method which can be used to achieve this? 回答1: Try using setBounds() instead of moveTo(), that works for me: chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('window.html', {

Cannot upload app to Chrome Web Store - “This item is not an app, please remove app section from manifest.”

試著忘記壹切 提交于 2019-12-10 09:27:55
问题 I am constantly getting this error when uploading my app: An error occurred: Failed to process your item. This item is not an app, please remove app section from manifest. This is the manifest file for my Chrome app (based on the Getting started - Hello World tutorial): { "name":"App name", "description":"app description", "version":"1.0.4", "manifest_version":2, "app":{ "background":{ "scripts":["background.js"] } }, "icons":{ "16":"icon_16.png", "18":"icon_128.png" } } I tried to install my

Where are the min/max buttons on new Chrome Packaged Apps?

一笑奈何 提交于 2019-12-10 06:56:21
问题 I'm using the dev-channel v23 of Chrome and I'm working with the new Chrome Packaged Apps platfrom. One purpose of the new platform is to take packaged apps "out of the browser" and give the packaged app top-level window status. I have a lot of things working, but the window that Chrome opens for me has no title bar, or minimize, maximize buttons. It does have the chrome's custom close button (like the one on internal windows like settings dialogs). You can hide the close button, and provide

Get id_token with Chrome Identity API

痴心易碎 提交于 2019-12-10 04:12:05
问题 I am developping a Google Chrome extension, to allow users to authenticate with their Google Accounts, i decided to use Chrome Identity API . To authenticate the user in my Application i need to get the ID_Token (signed token) is there a way to get OpenID Connect Token with Google Chrome Identity API ? Thanks for your help ! 回答1: This is a paste of my answer from the other thread https://stackoverflow.com/a/32548057/3065313 I've came to the same problem yesterday and since I've found a

Parts of the UI keep disappearing in a Chrome app

时光毁灭记忆、已成空白 提交于 2019-12-10 01:50:12
问题 I'm working on a Chrome app called Postman (https://chrome.google.com/webstore/detail/postman-rest-client-packa/fhbjgbiflinjbdggehcddcbncdddomop). While using Postman on a Macbook with a retina display, a weird problem keeps cropping up. Sometimes (about 1 in 20 clicks), clicking on a UI element makes half the UI vanish. The 'Elements' tab of dev tools shows the correct structure - all the divs are there, with display: block. They're just not rendered. Resizing the window by a tiny amount

Using Google Chrome extensions to import/export JSON files?

寵の児 提交于 2019-12-09 18:51:04
问题 I'm creating a Google Chrome extension at the moment and I was wondering if it's possible for it to both create JSON files to download ( export ) and create a button where users can make the extension open and parse JSON files that they have saved in their local file system or on a USB stick ( import )? The parsing of each JSON from the local file system would simply involve reading off each key-value pair and doing something with the data. It would only have to deal with strings, so nothing

Refused to execute inline script because it violates the following Content Security Policy directive: “script-src 'self'”

狂风中的少年 提交于 2019-12-09 08:30:07
问题 Im creating a chrome extension for Rss reader in that im getting the above error. please help manifest.json { "name": "Tutorialzine Extension", "manifest_version": 2, "version": "1.1", "description": "Making your first Google Chrome extension.", "icons": { "128": "icon_128.png" }, "web_accessible_resources": ["script.js", "https://query.yahooapis.com"], "browser_action": { "default_icon": "icon.png", "default_popup": "tutorialzine.html" }, "permissions": ["tabs", "<all_urls", "http:/

Is it possible to use Google Chrome as a proxy server?

↘锁芯ラ 提交于 2019-12-09 06:39:50
问题 In my particular network environment the Google chrome executable can access via an authenticated outgoing proxy server external web sites. Other executables however (when pointing to that outgoing proxy) are not able to do so. I now have the idea to use Chrome itself as a local proxy for other executables like git or pip . - Is this possible, say, with a Chrome extension or with a tool that uses Chrome in a headless mode to connect to the Internet? To clarify, I am not asking how to

Save without prompt in a Chrome Packaged App

送分小仙女□ 提交于 2019-12-09 03:39:17
问题 I have started to look in to Googles Packaged Apps in Chrome, http://developer.chrome.com/apps which seems to be a great technology, but in an early stage. My question is: Is it's possible to save files to the computer using the fileSystem API from the app without a prompt? I want to make an app that can save log files etc. 回答1: I had some conversations with people involved in the packaged apps development and as it is today you cant have access to the file system without prompt our outside

ARC apps crash with google chrome 45

最后都变了- 提交于 2019-12-08 22:15:01
问题 today when testing android apps with the arc runtime, which for some reason updated without me noticing. and all I get is that it immediately crashes. I have tried repacking using the arc welder which is somehow also updated with no results. UPDATE: since i did not see any progress on the stable channel i tried this on canary channel to see what might be causing the crash and found the errors "plugin not ready" and "plugin crashed: captured minidump" is there a way to solve these errors? 来源: