Advertisement
Guest User

Untitled

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