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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:51:46+00:00 2026-05-25T14:51:46+00:00

requrl_1 = http://www.example.com/index.php; requrl_2 = http://www.example.com/redirect.php; when I request requrl_1 , there is no

  • 0
requrl_1 = "http://www.example.com/index.php";
requrl_2 = "http://www.example.com/redirect.php";

when I request “requrl_1“, there is no problem. I’m getting response. “index.php” is not a redirector page.

but requrl_2 is a redirector page, that is redirecting to another website(for example: http://www.cnn.com).

so when I request with XMLHttpRequest, I’m getting exception 101 error.

I must request “redirect.php“, there isn’t another solution.

How can I do that? Why am I getting “exception 101” error.


I’m coding a Greasemonkey userscript script for google chrome.

  • 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-25T14:51:46+00:00Added an answer on May 25, 2026 at 2:51 pm

    It’s best to just install Tampermonkey and use it to run your script. Then you can code with GM_xmlhttpRequest()Doc — which has cross-domain support. And scripts get enhanced capabilities to match what Greasemonkey can do on Firefox.

    If you don’t want to install Tampermonkey, Chrome userscripts now support cross-site requests via GM_xmlhttpRequest().

    So, you could use:

    GM_xmlhttpRequest ( {
        method:     "GET",
        url:        "http://www.example.com/redirect.php",
        onload:     function (response) {
                        //-- Do your business here.
                    }
    } );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the following html to load dojo from Google's hosting. <script src=http://www.google.com/jsapi></script> <script
I have some problem with UTF-8. My client (realized in GWT) make a request
<action name=userLogin class=com.cc.ad.web.common.UserLoginAction> <result name=error>/user-login.jsp</result> <result name=redirect type=redirect>${retUrl}</result> <result name=customerRedirect type=redirect>${customerRedirect}</result> <result name=supplierRedirect type=redirect>${supplierRedirect}</result>
I am using this code: def req(url, postfields): proxy_support = urllib2.ProxyHandler({http : 127.0.0.1:8118}) opener
NSString *reqURL = [NSString stringWithFormat:@%@/login,SERVER_URL]; NSMutableURLRequest *req = [[NSMutableURLRequest alloc]initWithURL:[NSURL URLWithString:reqURL]]; [req setValue:@application/x-www-form-urlencoded forHTTPHeaderField:@content-type];
I realize this is a repost but I needed to as I can't use
Why doesn't the while loop return anything? I assume this has something to do
I make a call to the twitter API. 100 posts are retreived + a
Edit: Maybe I made the question more complex than it should. My questions is
I cannot get the .NET XML reader to cooperate for anything. Here is my

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.