×

Give a tip

ddn2003

Members
  • Posts

    58
  • Joined

  • Last visited

 Content Type 

Profiles

Forums

Release Notes

Bug Tracker

Help page

Help page-CN

Release Note5

Rules and recruitment

Release Note6

Posts posted by ddn2003

  1. How can I block an embedded javascript on a page.

    function getQueryVariable(variable)

    {

    var query = window.location.search.substring(1);

    var vars = query.split("&");

    for (var i=0;i

    var pair = vars.split("=");

    if(pair == variable){return pair;}

    }

    return(false);

    }

    var affid = getQueryVariable("affid");

    var clickid = getQueryVariable("clickid");

    var subid = getQueryVariable("subid");

    var bannerid = "0";

    The alert line changes every time the page loads.