Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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>

Upravil(a) cor-el dňa

Vybrané riešenie

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/

Čítať túto odpoveď v kontexte 👍 2

Všetky odpovede (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

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

more options

Vybrané riešenie

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