Guest User

Untitled

a guest
Nov 6th, 2012
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "use strict";
  2. (function () {
  3.     function t(e) {
  4.         try {
  5.             var t = e.match(/:\/\/(.[^\/:]+)/)[1];
  6.             return t.match(/[^.]+\.([a-z]+|co\.uk)$/)[0]
  7.         } catch (n) {
  8.             return null
  9.         }
  10.     }
  11.     function n(e) {
  12.         return "http://ad.zanox.com/ppc/?21392512C308492861T&ULP=[[" + encodeURIComponent(F(e)) + "]]"
  13.     }
  14.     function r(e) {
  15.         return "http://www1.belboon.de/adtracking/03389308c044023369003ebc.html/&deeplink=" + encodeURI(I(e, "partner", "belboon"))
  16.     }
  17.     function i(e) {
  18.         return e = e.replace(/\/[a-z0-9_]+-21\//, "/"), I(e, "tag", "comput0d-21")
  19.     }
  20.     function s(e) {
  21.         return e = e.replace(/\/[a-z0-9_]+-21\//, "/"), I(e, "tag", "comput02-21")
  22.     }
  23.     function o(e) {
  24.         return e = e.replace(/\/[a-z0-9_]+-20\//, "/"), I(e, "tag", "comput0b2-20")
  25.     }
  26.     function u(e) {
  27.         return "http://ad.zanox.com/ppc/?21392539C586802617T&ULP=[[" + encodeURIComponent(e) + "]]"
  28.     }
  29.     function a(e) {
  30.         return I(e, "ref", "35")
  31.     }
  32.     function f(e) {
  33.         return "http://www1.belboon.de/adtracking/03389308c044021bc9003dd9.html/&deeplink=" + encodeURI(I(e, "sPartner", "31"))
  34.     }
  35.     function l(e) {
  36.         var t = e.match(/\/product\/([0-9]{6})\//);
  37.         return t ? "http://ad.zanox.com/ppc/?21337745C826836488T&ULP=[[" + t[1] + "]]" : e
  38.     }
  39.     function c(e) {
  40.         var t = I(e, "APID", "101");
  41.         return "http://ad.zanox.com/ppc/?21322417C1778173534T&ULP=[[" + t + "]]"
  42.     }
  43.     function h(e) {
  44.         var t = encodeURIComponent(encodeURIComponent(F(e)));
  45.         return "http://ad.zanox.com/ppc/?21322618C1501736556T&ULP=[[" + t + "]]"
  46.     }
  47.     function p(e) {
  48.         return "http://rover.ebay.com/rover/1/707-53477-19255-0/1?ff3=4&pub=5574914739&toolid=10001&campid=5336674073&mpre=" + encodeURIComponent(e)
  49.     }
  50.     function d(e) {
  51.         return "http://rover.ebay.com/rover/1/5221-53469-19255-0/1?ff3=4&pub=5574914739&toolid=10001&campid=5336674073&mpre=" + encodeURIComponent(e)
  52.     }
  53.     function v(e) {
  54.         return "http://rover.ebay.com/rover/1/5222-53480-19255-0/1?ff3=4&pub=5574914739&toolid=10001&campid=5336674073&mpre=" + encodeURIComponent(e)
  55.     }
  56.     function m(e) {
  57.         return "http://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&pub=5574914739&toolid=10001&campid=5336674073&mpre=" + encodeURIComponent(e)
  58.     }
  59.     function g(e) {
  60.         return "http://ad.zanox.com/ppc/?21933154C23643835T&ULP=[[" + encodeURIComponent(e) + "]]"
  61.     }
  62.     function y(e) {
  63.         return "http://ad.zanox.com/ppc/?21478801C1217609251T&ULP=[[" + encodeURIComponent(e) + "]]"
  64.     }
  65.     function b(e) {
  66.         return "http://ad.zanox.com/ppc/?21395831C204351956T&ULP=[[" + encodeURIComponent(e) + "]]"
  67.     }
  68.     function w(e) {
  69.         return "http://www1.belboon.de/adtracking/03389308c04403470e004833.html/&deeplink=" + encodeURI(I(e, "ref", "181"))
  70.     }
  71.     function E(e) {
  72.         return "http://ad.zanox.com/ppc/?21405273C1420636303T&ULP=[[" + encodeURIComponent(e) + "]]"
  73.     }
  74.     function S(e) {
  75.         return "http://track.webgains.com/click.html?wgcampaignid=111985&wgprogramid=1475&wgtarget=" + encodeURIComponent(e)
  76.     }
  77.     function x(e) {
  78.         return I(e, "refcampaign_id", "2cf9df35a90fea32564d44501b35dd09")
  79.     }
  80.     function T(e) {
  81.         return "http://nullprozentshop.postaffiliatepro.com/scripts/click.php?a_aid=4faccc8c4e1fb&a_bid=c95526b4&desturl=" + encodeURIComponent(e)
  82.     }
  83.     function N(e) {
  84.         return "http://ad.zanox.com/ppc/?21392583C1788092063T&ULP=[[" + encodeURIComponent(e) + "]]"
  85.     }
  86.     function C(e) {
  87.         var t = I(e, "refId", "zanoxde");
  88.         return "http://ad.zanox.com/ppc/?21323046C1161928428T&ULP=[[" + t + "]]"
  89.     }
  90.     function k(e) {
  91.         return "http://ad.zanox.com/ppc/?21393929C5344194T&ULP=[[" + encodeURIComponent(e) + "]]"
  92.     }
  93.     function L(e) {
  94.         return "http://ad.zanox.com/ppc/?21391398C67470066T&ULP=[[" + encodeURIComponent(e) + "]]"
  95.     }
  96.     function A(e) {
  97.         return j(e) === "/" ? "http://ad.zanox.com/ppc/?21433190C28207733T" : e
  98.     }
  99.     function O(e) {
  100.         return "http://ad.zanox.com/ppc/?21338325C83976019T&ULP=[[" + encodeURIComponent(e) + "]]"
  101.     }
  102.     function M(e) {
  103.         return "http://ad.zanox.com/ppc/?21397043C41009095T&ULP=[[" + encodeURIComponent(e) + "]]"
  104.     }
  105.     function _(e) {
  106.         var t = j(e).substring(1),
  107.             n = I(t, "partner_id", "zanox.text_produkt");
  108.         return "http://ad.zanox.com/ppc/?21321687C1296834818T&ULP=[[" + n + "]]"
  109.     }
  110.     function D(e) {
  111.         return "http://www.thomann.de/index.html?partner_id=17529&page=" + encodeURIComponent(j(e))
  112.     }
  113.     function P(e) {
  114.         return "http://ad.zanox.com/ppc/?21392634C917138619T&ULP=[[" + encodeURIComponent(j(e)) + "]]"
  115.     }
  116.     function H(e) {
  117.         return "http://ad.zanox.com/ppc/?21393031C585102276T&ULP=[[&qulink=" + encodeURIComponent(e) + "?]]"
  118.     }
  119.     function B(e) {
  120.         return "http://ad.zanox.com/ppc/?21425120C1349538725&ULP=[[&dlurl=" + encodeURIComponent(e) + "]]"
  121.     }
  122.     function j(e) {
  123.         return e.substring(e.indexOf("/", 8))
  124.     }
  125.     function F(e) {
  126.         return e.replace("http://", "").replace("https://", "")
  127.     }
  128.     function I(e, t, n) {
  129.         var r = new RegExp("([&?]" + t + ")=[^&#]+", "g");
  130.         return e.match(r) ? e.replace(r, "$1=" + n) : q(e, t + "=" + n)
  131.     }
  132.     function q(e, t) {
  133.         var n = e.indexOf("?") === -1 ? "?" : "&";
  134.         return e.indexOf("#") !== -1 ? e.replace("#", n + t + "#") : e + n + t
  135.     }
  136.     var e = {
  137.         "1und1.de": n,
  138.         "alternate.de": r,
  139.         "amazon.de": i,
  140.         "amazon.co.uk": s,
  141.         "amazon.com": o,
  142.         "base.de": u,
  143.         "caseking.de": a,
  144.         "comtech.de": f,
  145.         "conrad.de": l,
  146.         "cyberport.de": c,
  147.         "dell.de": h,
  148.         "dell.com": h,
  149.         "ebay.de": p,
  150.         "ebay.at": d,
  151.         "ebay.ch": v,
  152.         "ebay.com": m,
  153.         "flip4new.de": g,
  154.         "kabelbw.de": y,
  155.         "kabeldeutschland.de": b,
  156.         "kmcomputer.de": w,
  157.         "mobilcom-debitel.de": E,
  158.         "mysn.de": S,
  159.         "notebooksbilliger.de": x,
  160.         "nullprozentshop.de": T,
  161.         "o2online.de": N,
  162.         "redcoon.de": C,
  163.         "simyo.de": k,
  164.         "sky.de": L,
  165.         "smartmobil.de": A,
  166.         "strato.de": O,
  167.         "telekom.de": M,
  168.         "teufel.de": _,
  169.         "thomann.de": D,
  170.         "unimall.de": P,
  171.         "unitymedia.de": H,
  172.         "vodafone.de": B
  173.     };
  174.     $("#content").find("a[href^=http]").each(function () {
  175.         var n = t(this.href);
  176.         e[n] && $(this).click(function r() {
  177.             $(this).off("click", r), this.href = e[n](this.href)
  178.         })
  179.     })
  180. })();
Advertisement
Add Comment
Please, Sign In to add comment