Google chrome for android clear or disable cache - google-chrome

I'm using google chrome for android on kiosk mode to use my web application. I need to clear or disable his cache without using "More tools and then Clear browsing data". It must be automatic when the server side change.
Is it possible ?
My web application is develop with JSF
Versions :
Chrome 64.0.3282.137
Android 7.0.0
Thanks

Related

Can extensions be run on Chrome OS in kiosk mode?

Google is deprecating Chrome apps in favor of Progressive Web Apps (PWA) or Chrome extensions. This leaves extensions as the only way to access Chrome device APIs. I'm looking for a way for my PWA to run along with a Chrome extension in kiosk mode but I'm not sure if it's possible.
The reason I need my PWA to access Chrome device APIs is to get a unique identifier per device to decide which content to display.
As per chromeos.dev: "Previously, Chrome Apps had extra functionality available to them in kiosk mode that is not currently supported by web apps alone. You can continue to use some of this functionality by deploying an extension with your kiosk web application."
Source: https://chromeos.dev/en/education/connecting-an-extension-from-a-kiosk-pwa
It only talks about sending a message from PWA to extension in order to execute a chrome API (like restart) but doesn't talk about how to send information back from extension to PWA. We are also stuck in the same boat- looking for a unique identifier so as to throw content on the chromebox running the PWA. Currently we use chrome.enterprise.deviceAttributes to get serial number and directory device ID in kiosk mode and would need the same once we migrate to PWA. Any luck on this?

How can I use chrome.enterprise.platformKeys on a Chrome extension for Chrome OS?

I've been trying to generate a custom client certificate on Chrome OS for things like VPN.
No matter what I do, I keep getting that chrome.enterprise.platformKeys is undefined.
I've been creating test extensions in Developer mode on my managed Chrome OS machine. I see on the documentation page here it says:
Note: This API is only for extensions pre-installed by policy.
How can I properly use this API, if I want to test apps in Developer mode?

How to silent Install chrome extension on Windows 10 Technical Preview without using a developer version of chrome.

I have a problem getting a chrome extension to work on Windows 10 Technical Preview. I have this extension hosted in Chrome Web store. However when my i run the .exe on my pc, which is supposed to install a client on the pc and an extension on chrome, i cannot see the extension in the chrome extensions.
But when i use the developer version of chrome, i can see the browser prompting me to accept/disable the extension.
What am i missing here? I am pretty new to chrome plugins. Any suggestion/help would be greatly appreciated.
Thanks
Google Chrome (unfortunately) no longer allows private or local crx files to be installed as extensions. You must host it on the Google Chrome app store. From within the store you can make it private to a specific domain, or limit the app to only those within a Google group (they must use their Google account for access to the install).
Deployment of plugins that work within our intranet has suddenly become a major pain. I'm really surprised they couldn't come up with a better solution for this.
https://support.google.com/chrome/a/answer/2663860?hl=en

Standalone chrome applications

Currently I am exploring the possibilities and features of Google Chrome apps. As I see to run chrome apps we need to distribute them through chrome App Store. Could we develop a application as a chrome app, which will not need to release to general public or for a limited audience?
Is there anyway that we could package it to native OS executable like .exe in windows or .app in MacOS. So for users who doesn't have chrome installed will also can without any issue. Or at least could we distribute without submitting it to the App Store.
Also I am wondering whether we can run another application through chrome apps? For example I am planing to develop a java application and start with the chrome app.
You can distribute a Chrome App without using the Chrome Web Store, but you'll have to explain to users how to install it, and it's a little tricky: They have to open the Extensions window in Chrome and then drag the installation file to that window. Upon dropping it, there will be a dialog asking them if they want it installed. (They can't just double-click on a file or do anything else that's easy like that.)
Chrome Apps can't directly launch native apps, but they can communicate in various ways with native apps (or any apps) once those other apps are running.
(Some parts of your question are ungrammatical, so I can't be completely sure what you're asking, but the above is what I think you're asking.)
Chrome Extensions are only installable from the Web Store, but Applications can be privately hosted with some provisos: https://developer.chrome.com/extensions/hosting

chrome: disable internet connection or work offline

How can I disable internet connection or work offline like Firefox in Chrome? I need to check some errors when Internet is not available.
offline mode is added to Chrome v45.
Developer tools -> Network tab -> Choose "offline" from selectbox.
Offline switcher is a new handy Chrome Extension to do the job quickly. You can toogle to switch between offline and online mode.
The add-on is simple, just to set Chrome proxy to an un-existing point.
Under the network tab, go to the THrottling dropdown where you can select different speeds of web and even set it to be offline. This comes very handy when you are working with service workers and want to test your application in offline mode.
Refer to the latest answer:
https://stackoverflow.com/a/32607960/2520254
Until Chrome has a feature to disable internet but retains localhost (or local network) connections. The only way I could suggest is to just disconnect the network from the internet manually for your testing.