Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var _vwo_code = (function () {
  2.     var account_id = 199640,
  3.         settings_tolerance = 2000,
  4.         library_tolerance = 1500,
  5.         use_existing_jquery = false,
  6.         f = false,
  7.         d = document;
  8.     return {
  9.         use_existing_jquery: function () {
  10.             return use_existing_jquery;
  11.         },
  12.         library_tolerance: function () {
  13.             return library_tolerance;
  14.         },
  15.         finish: function () {
  16.             if (!f) {
  17.                 f = true;
  18.                 var a = d.getElementById('_vis_opt_path_hides');
  19.                 if (a) a.parentNode.removeChild(a);
  20.             }
  21.         },
  22.         finished: function () {
  23.             return f;
  24.         },
  25.         load: function (a) {
  26.             var b = d.createElement('script');
  27.             b.src = a;
  28.             b.type = 'text/javascript';
  29.             b.innerText;
  30.             b.onerror = function () {
  31.                 _vwo_code.finish();
  32.             };
  33.             d.getElementsByTagName('head')[0].appendChild(b);
  34.         },
  35.         init: function () {
  36.             settings_timer = setTimeout('_vwo_code.finish()', settings_tolerance);
  37.             this.load('//dev.visualwebsiteoptimizer.com/j.php?a=' + account_id + '&u=' + encodeURIComponent(d.URL) + '&r=' + Math.random());
  38.             var a = d.createElement('style'),
  39.                 b = 'body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}',
  40.                 h = d.getElementsByTagName('head')[0];
  41.             a.setAttribute('id', '_vis_opt_path_hides');
  42.             a.setAttribute('type', 'text/css');
  43.             if (a.styleSheet) a.styleSheet.cssText = b;
  44.             else a.appendChild(d.createTextNode(b));
  45.             h.appendChild(a);
  46.             return settings_timer;
  47.         }
  48.     };
  49. }());
  50. _vwo_settings_timer = _vwo_code.init();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement