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

  • Home
  • SEARCH
  • 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 4124172
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:42:23+00:00 2026-05-20T23:42:23+00:00

Is it possible to set up Firefox to allow JSON/Ajax calls to my server

  • 0

Is it possible to set up Firefox to allow JSON/Ajax calls to my server
from a client html page loaded using the file:// protocol??

I am building a phonegap application which is loading web pages using
the file:// protocol and therefore XSS/XDS sandboxing rules don’t
apply. This is cool! Unfortunately, I can only get this to work from
my Android Emulator (see below for setup). It does NOT work under
Firefox running on my Vista client machine. This is disappointing
because I have grown used to using Firebug on the client to debug my
application.

FYI, The following setup works fine (but doesn’t allow Firefox/Firebug
debugging)…

Server: Ubuntu running on Virtual Box, Eth0 in Bridged mode, node.js
returning a JSON messages)
Development (Host) Machine: Windows Vista running Eclipse with Android
SDK and Phonegap stuff loaded
Client: Application (.apk) deployed to the standard Android Emulator

Edit: I eventually gave up on this and used JSONP :/

  • 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-20T23:42:24+00:00Added an answer on May 20, 2026 at 11:42 pm

    I know you like Firefox but you could try Safari on Windows since it allows cross domain from file:// and it has good tools in the form of web inspector.

    You could also try Sleight (https://github.com/alunny/sleight). which is a very simple proxy written in NodeJS specifically for PhoneGap.

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

Sidebar

Related Questions

Is it possible to set the cursor to 'wait' on the entire html page
In Java SE it is possible set the cause of an exception using initCause
In my markup I am using HTML title attributes which I set by the
I am working on a Firefox extension that will involve ajax calls to domains
Note: A possible solution needs only work in Firefox 3.0, my app doesn't allow
The Evernote client has a nice feature that allows dragging links from Firefox into
I am using an extendedDataTable from Richfaces 4. I want to show a detail-page
Is it possible to set which rendering engine to use when exporting a page
Possible Duplicate: how can i set my project according to firefox? My project works
I initially set out to learn how to handle ajax-ready file uploads; I found,

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.