Relocation problem (i=1 again)

Seriously, this is a very hinders with XHR

location.href="http://domain.ezyro.com?i=1";

Yes, I have read this post

This is the way we track stats of our clients' websites and unfortunately, it cannot be removed.

But it's such an incredible crutch!
Make at least at php for hide it from browser:

header("Location: http://www.example.com/");

Comments

  • Seriously, this is a very hinders with XHR

    location.href="http://domain.ezyro.com?i=1";
    

    Yes, I have read this post

    This is the way we track stats of our clients' websites and unfortunately, it cannot be removed.

    But it's such an incredible crutch!
    Make at least at php for hide it from browser:

    header("Location: http://www.example.com/");
    

    This should not pose any problem.
    Suggestion noted down.

  • it's cause problem in 2 cases:
    1 . fetch API transform headers to lowercase.
    Request with
    X-Requested-With:XMLHttpRequest - work
    x-requested-with:XMLHttpRequest - don't

    2 . cross domain request, including API for Cordova / MobileGap platform failds because of "Referer" header.

    Unfortunately, I need free hosting to debug a mobile application using the fetch API and I spent all day to figure out wtf...

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!