xpi

How to install my .xpi on firefox android

青春壹個敷衍的年華 提交于 2021-01-21 03:59:44
问题 I work on a firefox addon using JPM. I want to install it on my android phone, i've run "jpm xpi" and copy xpi on my sdcard. When i browse to file://path/to/my/xpi in android firefox nothing happen. Same issue if i upload xpi on my server and browse to url. i've tested with google play firefox up to date version and nighty. where is my mistake? 回答1: Neither ES File Explorer nor X-plore worked for me (as per Trasd's comment). I saw the three Firefox's, but none of them triggered to install the

Addon attaches script just fine with jpm run, but not with the actual xpi

落花浮王杯 提交于 2019-12-25 16:01:29
问题 I'm still fairly new to the addon-sdk and have run into a for me unexplainable problem. So far, I've been using jpm run to test everything - and it all works great. Now, I'm getting close to be finished with what I want to accomplish, so I wanted to give it a test run in a 'normal' browser - mainly to use it over a couple of days to see if everything works as expected. However, the installing process already throws two error messages: [Exception... "Component returned failure code: 0x80004005

Addon attaches script just fine with jpm run, but not with the actual xpi

瘦欲@ 提交于 2019-12-25 16:01:18
问题 I'm still fairly new to the addon-sdk and have run into a for me unexplainable problem. So far, I've been using jpm run to test everything - and it all works great. Now, I'm getting close to be finished with what I want to accomplish, so I wanted to give it a test run in a 'normal' browser - mainly to use it over a couple of days to see if everything works as expected. However, the installing process already throws two error messages: [Exception... "Component returned failure code: 0x80004005

Firefox 40 does not allow the extension even after signing

此生再无相见时 提交于 2019-12-24 16:12:22
问题 I am Using Firefox 40 and followed Signing an XPI article to sign an XPI. Used certutil to sign the XPI, imported the X509.cacert in firefox Certificate Manager (Authorities tab) every step completed as mentioned in the article. Now if I install the XPI , I get popup. Caution: This site would like to install an unverified add-on in Firefox After installation the extension is working correctly. However if I set the flag: xpinstall.signature.required to true and then try to install it . I get

How to create xpi file with 7Zip?

喜夏-厌秋 提交于 2019-12-20 10:25:02
问题 I would like to pack my firefox extension as xpi file. I tried by adding it to archive and name it as filename.xpi But when i try to install it on firefox am getting "package corrupted" message. Is there any way i can create a valid xpi file ? I have installed cygwin and tried to execute zip command to create xpi file. But got zip is not a command error. Can somebody guide me to get it done ? 回答1: If you are on windows (to install cygwin it looks like you do), you can use the windows built in

Add-on “appears to be corrupt” when trying to install my add-on's .xpi file in Firefox

大憨熊 提交于 2019-12-17 11:52:39
问题 I am trying to install an extension in Firefox 45 (same happens with Firefox 49), but Firefox does not allow me to do that, indicating that This add-on could not be installed because it appears to be corrupt. The way I am trying to install it is simply by dragging the .xpi file our team developed, into the Firefox window. This extension is based on MozRepl, but with some improvements. Previously, I tried to install it but I couldn't as it was not signed (extensions in Firefox versions from 43

Python: Selenium Firefox Webdriver failing with error: 'Can't load the profile…WARN addons.xpi…"

六眼飞鱼酱① 提交于 2019-12-12 08:17:38
问题 I am trying to run the following Python code to create a Firefox Webdriver window via Selenium: from selenium import webdriver driver = webdriver.Firefox() driver.get("http://www.google.com") While this code worked fine a few weeks ago, it now produces the following foreboding message: Traceback (most recent call last): File "test.py", line 2, in <module> driver = webdriver.Firefox() File "c:\python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 60, in __init__ self.binary

Mozilla XPCOM is not registered

橙三吉。 提交于 2019-12-11 06:42:33
问题 I'm trying to build an extension for Firefox. This extension uses an XPCOM component (a C++ dll). I'm compiling the DLL, compilation is OK. The next step would be to use the component in Javascript from my extension. I added the code to register my component from my c++ file : static const mozilla::Module::CategoryEntry kSampleCategories[] = { { JAVASCRIPT_GLOBAL_PROPERTY_CATEGORY, "greenfox", NS_SAMPLE_CONTRACTID }, }; In my manifest, I declare the XPCOM : component {03A6D0B4-22B9-11DF-B844

creating xpi does not work

给你一囗甜甜゛ 提交于 2019-12-11 04:29:28
问题 I have been trying to learn about Add On Development for Firefox. I am hitting a snag and I am not too sure what the issue is? I have tried installing the SDK and Python on two different machines Python 2.5 (on a win server 2008) and python 2.6 (on windows 7) successfully. I installed the Add On SDK with no problems. Followed this tutorial to a TEE. https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_Started_With_cfx the test runs perfectly using cfx run on both machines and

the add on could not be installed because it appears to be corrupt

蹲街弑〆低调 提交于 2019-12-10 14:32:40
问题 After converting folder into .xpi file and drag and drop into firefox I'm receiving the error message as " the add on could not be installed because it appears to be corrupt " in firefox browser. I tried to compressed the the folder using winzip,7z, winrar and rename it into .xpi file. However I still get the same error after performing the same operation. How to make the firefox accept our own plugin in local? Kindly Help me 回答1: Putting my Psychic-Debugging hat on, here is the most likely