google-chrome-app

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

半世苍凉 提交于 2019-12-03 10:50:45
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://localhost/", "http://*/*", "https://*/*", "https://query.yahooapis.com"], "content_security_policy": "script

What are the pros and cons of Chrome Apps compared to Electron?

半腔热情 提交于 2019-12-03 08:29:42
问题 I want to program a desktop app in javascript (with web technologies) and looked for a comparison between Electron and Chrome Apps. Everything I need seems to be possible with Chrome Apps, but there's a big hype around Electron/NW.js. What are the advantages of Electron? Is it due to the large amount of Node packages? I think the functional differences are clear to me. Pros and cons like: + Chrome Apps can run on Chrome OS - Chrome Apps needs an installed Chrome Browser ... UPDATE 2016-08-20:

Extension installed from Chrome Webstore throws error "Package is invalid. Details: 'Cannot load extension with file or directory name _metadata…'

旧时模样 提交于 2019-12-03 07:58:35
问题 When a CRX is added to the Chrome web store, Google adds a directory _metadata to the crx. Older versions of Chrome do not know about this directory (tested on Chrome 27) and throw this error: Package is invalid. Details: 'Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.'. You can see this error if you try to install this extension on an older version of Chrome: https://chrome.google.com/webstore/detail/allcast

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

有些话、适合烂在心里 提交于 2019-12-03 07:34:35
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 configure the proxy settings inside Chrome - I have successfully done this. I am asking how I can set up Chrome

Debugging new Chrome packaged apps

好久不见. 提交于 2019-12-03 05:03:39
I'm playing with new-style packaged apps in Chrome 24, and I don't see any way to bring up Developer Tools to do debugging. What's the recommended strategy for debugging? I've been able to right click the content area and inspect an element to get the dev tools to come up. go to here chrome://inspect/ find the page you want Starting on Chrome 24, you can right click and inspect your page or inspect the background page. If your app doesn't have any open window to right click, you can go to chrome://extensions and use the Inspect Views links, from where you can open Developer Tools for any of

Autorun Chrome kiosk app when Chrome OS starts up

混江龙づ霸主 提交于 2019-12-03 03:38:15
When Chrome OS ready, need to click 'App' button and then select the kiosk app, but I want to launch it automatically on startup. How to set that up? Nicholas Kristoffersen Answer found here: https://productforums.google.com/forum/#!topic/chromebook-central/XTqYPQfZmNc Please follow the steps below to put Chromebook into Kiosk mode. Wipe Data on Chromebook (Follow this link for instructions). After wipe is completed, you will be at the welcome screen. (Input your network information, but DO NOT LOGIN to the Chromebook) At the login screen, press Ctrl + Alt + K and enable Kiosk mode. Login into

Chrome contextMenus API ContextType

走远了吗. 提交于 2019-12-03 01:15:31
I am looking at the API for chrome.contextMenu here . The context types listed are: "all" "page" "frame" "selection" "link" "editable" "image" "video" "audio" "launcher" "browser_action" "page_action" Some of these are intuitive, the others not so much. Where can I find definitions for these different contexts? It is hard to make use of the api without this background knowledge. Specifically, I would like to know "page", "frame", "editable", and "launcher". Xan "link", "image", "video", "audio" are more or less self-explanatory; they correspond to right-clicks on the appropriate HTML elements.

What are the pros and cons of Chrome Apps compared to Electron?

风格不统一 提交于 2019-12-02 23:56:18
I want to program a desktop app in javascript (with web technologies) and looked for a comparison between Electron and Chrome Apps. Everything I need seems to be possible with Chrome Apps, but there's a big hype around Electron/NW.js. What are the advantages of Electron? Is it due to the large amount of Node packages? I think the functional differences are clear to me. Pros and cons like: + Chrome Apps can run on Chrome OS - Chrome Apps needs an installed Chrome Browser ... UPDATE 2016-08-20: As Eduardo pointed out, Google announced that they'll discontinue Chrome Apps for all platforms expect

Storing video for offline use in PhoneGap/Chrome Apps

半世苍凉 提交于 2019-12-02 23:38:57
I have simple video playing apps both set up by PhoneGap and Chrome Apps CLI's (Both use Cordova), they contain a bunch of short educational videos and are needed as both website and application on Android/iOS for offline usage. I have found, so far, that the total size of the Chrome Apps bundled file can't exceed 10mb and the PhoneGap Build can't exceed 40mb - so both will need to download and store files locally for later use. The videos will need to open and play from within the WebView browser - hotspots trigger JS that change the HTML5 video src. (AppCache and other HTML5 storage are out

Extension installed from Chrome Webstore throws error \"Package is invalid. Details: 'Cannot load extension with file or directory name _metadata…'

淺唱寂寞╮ 提交于 2019-12-02 21:49:46
When a CRX is added to the Chrome web store, Google adds a directory _metadata to the crx. Older versions of Chrome do not know about this directory (tested on Chrome 27) and throw this error: Package is invalid. Details: 'Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.'. You can see this error if you try to install this extension on an older version of Chrome: https://chrome.google.com/webstore/detail/allcast-receiver/hjbljnpdahefgnopeohlaeohgkiidnoe A good explanation: https://groups.google.com/a/chromium.org/d/msg