ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

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

  • 7 პასუხი
  • 2 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 8 ნახვა
  • ბოლოს გამოეხმაურა jscher2000 - Support Volunteer

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

გადაწყვეტა შერჩეულია

ყველა პასუხი (7)

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

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.

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

შერჩეული გადაწყვეტა

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/

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>

Hi Emoticon, you wrote:

what is strict version numbering?

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