Relocation problem (i=1 again)

vitaliy
edited November -1 in Feature Suggestions

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

  • Admin
    edited November -1

    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.

  • vitaliy
    edited November -1

    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...