Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7411381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:22:43+00:00 2026-05-29T06:22:43+00:00

I tried to convert a Chrome extenstion to Firefox using this tool http://www.extensionfactory.com/labs/conversion/ and

  • 0

I tried to convert a Chrome extenstion to Firefox using this tool http://www.extensionfactory.com/labs/conversion/ and it works great except the AJAX calls. Each time I make an AJAX call from the Firefox extension, I get this error(in Chrome works fine):

[Exception… “Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]” nsresult: “0x80004005
(NS_ERROR_FAILURE)” location: “JS frame ::
resource://nfglncbjnghpllgmelioileejdnldcgm-api-utils-lib/securable-module.js
-> resource://nfglncbjnghpllgmelioileejdnldcgm-api-utils-lib/content/content-proxy.js
:: :: line 97” data: no]

This is the AJAX call in the content_script(chrome extension):

var dataString='original_url='+imgsrc+'&filename='+filename+'&crop_x='+selX+'&crop_y='+selY+'&crop_h='+selH+'&crop_w='+selW;
$.ajax({
    type: "GET",
    url: "http://www.[website.com]/crop",
    data: dataString,
    async:false,
    success: function() {
        alert('Image successfully added!');

        iframe.src = iframe.src;

    } ,
    error:function(){
        $.ajax({
            type: "GET",
            url: "http://[www.website.com]/loggedin",


            success: function() {
                alert('An error occured when uploading image to server! Please try again.');

            } ,
            error:function(){

                alert('You are not logged in! Please login.');
                window.open('http://[www.website.com]/login');
            }
        });

    }
});

I traced the error and nothing to be found, nothing related and I can’t get more details from Firebug. I also verified the website address and server code and everything is fine, it just doesn’t work on Firefox.

I’m thinking that Firefox Extension API has some limitations regarding to AJAX requests, but I don’t know what to say since I couldn’t find anything on the Internet.

Maybe you know what’s happening here…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:22:43+00:00Added an answer on May 29, 2026 at 6:22 am

    There are multiple ways to make a Firefox extension so it’s difficult to give you a detailed answer, but I will say that the error message you are receiving is expected if you are trying to make network calls from within the extension sandbox environment because they don’t allow it.

    If you can, use their latest SDK which can be found here:
    https://addons.mozilla.org/en-US/developers/docs/sdk/latest/

    You’ll notice they have a class called “request” in their api that does exactly what you want. It can be found here:
    https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/request.html

    One thing to note, if you use their latest SDK (1.4 at the time of this writing) it is not compatible with versions of Firefox prior to 4.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to convert a primitive to a string, and I tried: myInt.toString(); This
I tried to convert a List from 3{1{,2{,}},5{4{,},6{,}}} to a Binary Tree like this
On this page there are many abbreviation / acronym entries: http://abbreviations.wordcrow.com/acronyms/D/ They are generated
I tried to convert enum to a generic List by using the following code
I tried to convert a large number of pdf files to images using the
I tried to convert snippet 1 to snippet 2 but this did not work
I tried to convert a php api code to python: This is the php
So I've tried this XHTML 1.1 code (validated at validator.w3.org) in Chrome 6, IE
I tried the following DateTime start = Convert.ToDateTime(TextBox1.Text); DateTime end = Convert.ToDateTime(TextBox2.Text); if (DateTime.Now.Date
I tried many things but I always get cannot convert string to membershipuser from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.