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 9270213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:18:48+00:00 2026-06-18T15:18:48+00:00

I have a script that gets some JSON data from google apps scriptDB using

  • 0

I have a script that gets some JSON data from google apps scriptDB using the content service. I’m using jQuery JSONP (since its obviously cross domain coming from GAS). All is working fine on Chrome & safari, but on IE of course, I’m hitting problems.

I came across this IE/MSDN article which describes that cross domain JSONP would need to be served as a specific mime type to work with IE nowadays – but I don’t believe that in Google Apps Script Content service I can change the mime type to one of the acceptable values.

So instead, I’ve been looking at xDomainRequest – but this code comes up with SCRIPT5: access is denied on IE9 & IE10 on the xdr.open() line.

  if (window.XDomainRequest) {
    // its IE
    var xdr = new XDomainRequest();
    xdr.open("get", url);
    xdr.onload = function() {
        deferred.resolve(JSON.parse(xdr.responseText));
    }
    xdr.onerror(function() {
        deferred.reject("error with IE xdomain request for " + url);
    });
    xdr.send();

  }
  else {
    $.getJSON(url, null, 
        function (data) {
            deferred.resolve(data);
    })
    .error(function(res, status, err) {
        deferred.reject("error " + err + " for " + url);
    });
  }

  return deferred.promise();

The URL that’s being fetched is
https://script.google.com/macros/s/AKfycbzc0yBs8FfUZyJP1IhGpeTx-MsC288Ml6VYHjnqN9B9Kl3phHuh/exec?panelset=xliberation_panel&callback=?

The entire script is http://xliberation.com/s/badgemanager.html

I’ve seen lot of posts about topics related to this, but I haven’t been able to make anything work. Has anybody definitively figured out JSONP for IE/GAS combination?

  • 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-06-18T15:18:49+00:00Added an answer on June 18, 2026 at 3:18 pm

    File a feature request on the issue tracker; there’s no reason we can’t add the types you need. (And in answer, I don’t think anyone has raised the issue before on the tracker and we weren’t aware of it.)

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

Sidebar

Related Questions

I have script that gets some data using DBI's fetchall_hashref(). Usually it returns a
This is driving me crazy. I have a PHP script that gets some data
I have a PHP script that will generate a report using PHPExcel from data
I have a jQuery function that gets data from a form and puts it
I have a script that gets the input from the user as an absolute
I have a utility build script that gets called from a variety of project-specific
I have a web scraping script that gets new data once every minute, but
I'm trying this source where jqGrid gets some json data from django: link Unfortunately
I have some PHP script that logs in and returns a JSON array with
I have a php script that gets user input (some text and a link),

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.