Advertisement
borlabs

Booking-Time

Nov 2nd, 2023
716
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var bookingTimeDiv = document.createElement("div");
  2. bookingTimeDiv.setAttribute("id", "bookingtimeSatelliteIframe_e8c748d5c2227258");
  3. bookingTimeDiv.setAttribute("style", "position:static;display:block;margin:0 auto;padding:0;border:none;background:none;width:auto;height:auto;");
  4. document.querySelector('body').appendChild(bookingTimeDiv);
  5.  
  6. var fragment = document.createDocumentFragment();
  7. var bookingTimeScript = '<scr'+'ipt>var pymParent=new pym.Parent("bookingtimeSatelliteIframe_e8c748d5c2227258","https://satellite.booking-time.com/?key=e8c748d5c2227258",{sandbox:"allow-scripts allow-same-origin allow-popups"});</scr'+'ipt>';
  8.  
  9. var r = document.createRange();
  10. r.selectNodeContents(document.body);    
  11. document.body.appendChild(r.createContextualFragment(bookingTimeScript));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement