SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    google analytics messes up my javascript frame redirects

    please delete

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    var loc, qry, i, rez, q;
    
    loc = document.location.split("?");
    qry = loc[1].split("&");
    
    for(i = 0; i < qry.length; i++) {
        
        if(i < qry.length) {
    
            if(i > 0) q = "&";
            rez += q + qry[i];
    
        }
    
    }
    
    return loc[0] + rez;
    cheers
    Last edited by reminder; Aug 30, 2006 at 05:24.

  3. #3
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the code, I actually discovered the root of the problem was something else.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •