Guest User

Peek Pro Booking code

a guest
Apr 11th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.   (function(config) {
  3.     window._peekConfig = config || {};
  4.     var idPrefix = 'peek-book-button';
  5.     var id = idPrefix+'-js'; if (document.getElementById(id)) return;
  6.     var head = document.getElementsByTagName('head')[0];
  7.     var el = document.createElement('script'); el.id = id;
  8.     var date = new Date; var stamp = date.getMonth()+"-"+date.getDate();
  9.     var basePath = "https://js.peek.com";
  10.     el.src = basePath + "/widget_button.js?ts="+stamp;
  11.     head.appendChild(el); id = idPrefix+'-css'; el = document.createElement('link'); el.id = id;
  12.     el.href = basePath + "/widget_button.css?ts="+stamp;
  13.     el.rel="stylesheet"; el.type="text/css"; head.appendChild(el);
  14.   })({key: 'af0bf8dc-fd9a-427f-bc2b-65a7d3e2a2ce'});
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment