Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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>

Được chỉnh sửa bởi cor-el vào

Giải pháp được chọn

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/

Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (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

Giải pháp được chọn

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