Problems with Chrome in “--allow-file-access-from-files” mode - javascript

I'm trying to access a file on a shared drive from my application in Chrome. I know there is the --allow-file-access-from-files flag, and I've tried this to no avail. Here are the links I've tried on stackoverflow:
Can Google Chrome open local links?
How to launch html using Chrome at “--allow-file-access-from-files” mode?
I can't get “--allow-file-access-from-files” or the LocalLinks Chrome extension to work. Is there another setting I have to change? Has this been disabled? I'm running Chrome version 51.0.2704.106 if that makes a difference.

Related

Changing firefox's prefs.js from browser

Before firefox's ver 57 I was using https://github.com/edabg/jsprintsetup to change the printing configuration on the fly. This is no longer possible.
Using about:config on the browser window I can change the settings I want and when opening a new tab the changes are reflected.
My question is how do I do this after version 57? Im open to developing an extension or an add-on for firefox for this. Some of the preferences I want to change is the print.{printer}.print_orientation,print.always_print_silent etc
This is used only within the companys Intranet system, so security wont be an issue.
There is no WebExtension API for preferences manipulation.
The only way out is to implement your own experiment API, but extensions with experiment API work only on Firefox Nightly and Developer Edition.

Can a Chrome App launch a window with a Chrome Extension active?

I have written a Chrome extension and a Chrome packaged app. The extension uses the chrome.webRequest.onAuthRequired extension API. I've installed this extension in Chrome.
When I create a window in the Chrome App with chrome.app.window.create, the extension is not active.
How can I launch a window from my Chrome App in which the extension is active?
Ideally, I'd like to be able to use the chrome.webRequest API in my app, but I believe that is not possible.
Also, I understand that communication between a Chrome App and Chrome Extension is possible, (as in this this question), but I really hope I won't have to use message passing, and I don't know if that would even work as I'm not sure I could get the app to recognize when authorization was being requested.
Any thoughts would be appreciated. Thanks!

Is it possible to remote debug Chrome on iOS?

I am able to successfully debug Safari on iOS 8.4 using Google's ios-webkit-debug-proxy. But it never sees my Chrome tabs on the iPad. I've also tried using the desktop Chrome browser at chrome://inspect but that also doesn't show it.
Is it possible to remote debug Chrome on iOS? Or is this not possible?
I use Vorlon. http://vorlonjs.com/ It is a free open source project from MS and uses websockets to connect to the remote device. Not as good as full chrome dev tools but you can inspect/edit the dom, view console logs etc.

Why does Firefox suddenly disable Javascript by itself?

I am using Firefox 28.0 on Mac OS 10.6.8. Sometimes during web development, probably after my application crashes, Firefox suddenly disables Javascript in one particular tab. So my application would be all weird and not work until I restart Firefox. The script panel would say that the page has no scripts, and if I open another page with Javascript in the same tab, it would not work either.
Is it some kind of safety feature? Is it documented anywhere? Note that I also have Firebug installed, and I managed to crash Firefox by profiling my app in Firebug on more than one occasion.
I checked about.config; javascript.enabled is set to true.

InstallTrigger.install Equivalent in Chrome?

In firefox InstallTrigger.install is used to download xpi file. What is used to download the crx file in chrome browser. The download should start without the user click.
Simply change the location of your window, use window.location.href = "http://.../extension.crx";.
Edit: The answer above is outdated, Chrome no longer requires installing extensions from any website other than Chrome WebStore.
There is a supported inline installation flow that allows you to trigger installation for your extension from your website. This requires your website to be verified and associated with the extension in the Chrome Web Store. Then you can add a <link rel="chrome-webstore-item"> tag to the page pointing to your extension in Chrome Web Store and a call to chrome.webstore.install() will start installation.

Categories