I've been doing some googling but I can't seem to find the code to install a custom extension just like it would on the Chrome store. I have my own link that links to a .crx file on my Dropbox. How would I be able to install that .crx file through html or JavaScript code?
You will need to upload your extension to the Chrome Web Store. This step is not optional; since January 2014, Google Chrome has not supported installs of extensions from any other location. (This means that you cannot use Dropbox to host your extension. No, there is no way around this. Malware authors have abused every other installation method that was made available.)
Once you have done so, you can direct users to your extension's download page on the Chrome Web Store to install your extension, or use inline installation to prompt them to install it directly from your web site.
Related
I'm developing a Chrome extension that relies on a Python script in order to work. We contact with it via Native Messaging. We would like to have the Python script installed and the Registry Key created when the extension is installed. How should we go about doing that? Is it possible to do it from the onInstalled event?
I'm working on C# UWP project for Windows 10 Desktop Applications,
all SQLite. Functionality implemented in Windows runtime and windows class library then attach windows runtime references to Win Js project up to working fine. While I'm trying calling those methods create a database, insert records into JavaScript applications getting below error:
System.IO.FileNotFoundException: Could not load file or assembly
'SQLite.Net, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. The system cannot find the file specified.
I guess you are using SQLite.Net-PCL. If so, you need to install the SQLite support for UWP. You can find it by Universal Windows Platform section of This Page.
After reinstalling the Vsix file, restart your visual studio and add reference to your RuntimeComponent by add reference->Universal Windows->Extensions->SQLite for Universal Windows Platform.
If the problem still persists, you can try remove the nuget package and add the dll references directly. There are two dlls you need to reference. You can find them under:
C:\Users\<username>\.nuget\packages\SQLite.Net.Core-PCL\3.1.1\lib\portable-win8+net45+wp8+wpa81+MonoAndroid1+MonoTouch1\SQLite.Net.dll
C:\Users\v-xucxia.FAREAST\.nuget\packages\SQLite.Net-PCL\3.1.1\lib\portable-win81+wpa81\SQLite.Net.Platform.WinRT.dll
I am developing a chrome extension, and I wonder that is there any way to compress a developing directory to .crx file that can be installed in chrome by program like using Python or NodeJS?
I've found this link saying that you can change the .crx to .zip, and after decompressing you can see the extension's code.
So, I tried it in reverse. I compressed my developing chrome extension directory to .zip file-format manually and change .zip to .crx, then I tried to install it in chrome, but it didn't work. Obviously, using program to compress a directory to .zip the rename it to .crx doesn't work.
How to generate a chrome extension from directory automatically by a program? I am using python and NodeJS.
Chrome has support for packaging an extension from commandline, use this:
chrome.exe --pack-extension=C:\myext --pack-extension-key=C:\myext.pem
for more info: chrome
I've been having a hard time trying to figure out how to create a packaged app using eclipse. I have the GWT plugin installed and I can make a web application. I looked at the tutorial and looked to see how to do that. Is there any way for me to convert that web app into a packaged app that has the .html, .css, the manifest, ect. If not, what plugins do I need to write a packaged app in eclipse. Thanks for the help
You can easily push a GWT app (with normal restrictions) as a Chrome extension.
For a Start Read these -
Tutorial 1 - http://blog.tomtasche.at/2011/08/chromegwt-building-chrome-extensions.html
Tutorial 2 - http://tech-drum.blogspot.in/2012/06/building-chrome-extensions-with-gwt.html
You can also try and use this for reference - gwt-chrome
Note - There is a issue logged against GWT for making this process easy. "Star" it please.
The difference between a Packaged App and a Hosted App is the offline behavior
a Packaged App is an install able application on browser and an Web App is hosted from a web server and wont offline.
But you are able to run the packaged when the browser is offline with help of .json file ..hardly calling as manifest.json
Helloworld Packaged App
Chrome article on Packaged apps
Finally you need not to use Eclipse to create a packaged file because all of them are normal files (.html,.js,.css......).If you want use to browse the files easily and for better maintanace you can use it .
I
How can I register a Firebreath .dll file thats deployed locally on a users hard drive.
In IE, I can use ShellExecute in JavaScript to run a shell command to register the .dll
How can I do the same for an NPAPI browser ?
Thanks !
You can't register a .dll from inside the browser; if IE is letting you call ShellExecute from javascript that frightens me greatly. You certainly can't do that from firefox.
The recommended way to install a FireBreath plugin is using an MSI file (which is built-in if you have WiX 3.5 or later installed when you run the prep script), though alternate methods include wrapping that MSI in an EXE installer, using an XPI/CRX/CAB file (though that doesn't work on Safari and only the CAB file of those three can install for all browsers).
You can't directly register it from the browser.