Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

The extension I created will not install for testing. It always says not compatible with Firefox 23.0.1.

more options

I am in the process of porting an extension from Chrome to Firefox. The extension is called The Unofficial Openstudy App and it can be found on the Chrome Web Store. I have got everything ready for testing but it will not install the XPI file. It only says "not compatible with Firefox 23.0.1." I have tried modifying the minversion and maxversion in the install.rdf file but it DOES NOT WORK. Why is this?

Link to xpi: http://www.fast-files.com/getfile.aspx?file=65730

Contents of install.rdf for those who do not wish to download:

<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
  <Description about="urn:mozilla:install-manifest">
    <em:id>unknownnekomata@gmail.com</em:id>
    <em:type>2</em:type>
    <em:name>The Unofficial OpenStudy App (TUOSA)</em:name>
    <em:version>4</em:version>
    <em:creator>dumbsearch</em:creator>
    <em:contributor>Emoticon</em:contributor>
    <em:description>The Unofficial OpenStudy App (TUOSA) is a Firefox extension that extends and enhances the current functionality of OpenStudy.</em:description>
    <em:optionsURL>chrome://tuosa/content/options.xul</em:optionsURL>
 <em:iconURL>chrome://tuosa/skin/icon.png</em:iconURL>
 
 <!-- Firefox -->
 <em:targetApplication>
   <Description>
  <em:id>com.dumbsearch.tuosa</em:id> <!-- Firefox -->
  <em:minVersion>16.0</em:minVersion>
  <em:maxVersion>25.0</em:maxVersion>
   </Description>
 </em:targetApplication>
  </Description>
</RDF>
I am in the process of porting an extension from Chrome to Firefox. The extension is called The Unofficial Openstudy App and it can be found on the Chrome Web Store. I have got everything ready for testing but it will not install the XPI file. It only says "not compatible with Firefox 23.0.1." I have tried modifying the minversion and maxversion in the install.rdf file but it DOES NOT WORK. Why is this? Link to xpi: http://www.fast-files.com/getfile.aspx?file=65730 Contents of install.rdf for those who do not wish to download: <pre><nowiki><?xml version="1.0" encoding="UTF-8"?> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:install-manifest"> <em:id>unknownnekomata@gmail.com</em:id> <em:type>2</em:type> <em:name>The Unofficial OpenStudy App (TUOSA)</em:name> <em:version>4</em:version> <em:creator>dumbsearch</em:creator> <em:contributor>Emoticon</em:contributor> <em:description>The Unofficial OpenStudy App (TUOSA) is a Firefox extension that extends and enhances the current functionality of OpenStudy.</em:description> <em:optionsURL>chrome://tuosa/content/options.xul</em:optionsURL> <em:iconURL>chrome://tuosa/skin/icon.png</em:iconURL> <!-- Firefox --> <em:targetApplication> <Description> <em:id>com.dumbsearch.tuosa</em:id> <!-- Firefox --> <em:minVersion>16.0</em:minVersion> <em:maxVersion>25.0</em:maxVersion> </Description> </em:targetApplication> </Description> </RDF></nowiki></pre>

この投稿は cor-el により に変更されました

選ばれた解決策

you'll have to replace

com.dumbsearch.tuosa 

with the fixed guid for firefox:

{ec8030f7-c20a-464f-9b0e-13a3a9e97384}

https://developer.mozilla.org/en-US/docs/Install_Manifests#targetApplication
https://addons.mozilla.org/en-US/firefox/pages/appversions/

この回答をすべて読む 👍 2

すべての返信 (7)

more options

we cant download your XPI file plz make correct your link.

more options

What are your minversion and maxversion? Unless you set strict version numbering, Firefox generally should allow you to install extensions even if Firefox has passed the maxversion.

more options
more options

what is strict version numbering? my minversion is currently 16.0 and maxversion is 25.0

more options

選ばれた解決策

you'll have to replace

com.dumbsearch.tuosa 

with the fixed guid for firefox:

{ec8030f7-c20a-464f-9b0e-13a3a9e97384}

https://developer.mozilla.org/en-US/docs/Install_Manifests#targetApplication
https://addons.mozilla.org/en-US/firefox/pages/appversions/

more options

I'm not seeing the Firefox GUID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}

    <!-- Firefox -->
    <em:targetApplication>
      <Description>
-	<em:id>com.dumbsearch.tuosa</em:id> <!-- Firefox -->
+       <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
	<em:minVersion>16.0</em:minVersion>
	<em:maxVersion>25.0</em:maxVersion>
      </Description>
    </em:targetApplication>
more options

Hi Emoticon, you wrote:

what is strict version numbering?

Optional setting. For future reference: https://developer.mozilla.org/en-US/docs/Install_Manifests#strictCompatibility