Guest User

Untitled

a guest
Oct 11th, 2019
1,533
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <h1>My First Heading</h1>
  6. <p>My first paragraph.</p>
  7.  
  8.  
  9. <script>
  10. var countryCode='';
  11. function getCountryCode(data) {
  12.  
  13. countryCode = data.countryCode;
  14.  
  15. if(countryCode == 'IN')
  16. {
  17. console.log("You're from a forbidden country.");
  18. }
  19.  
  20. else
  21. {
  22. window.__lc = window.__lc || {};
  23. window.__lc.license = XXXXXXXX;
  24. (function() {
  25. var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
  26. lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';
  27. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
  28. })();
  29. }
  30.  
  31.  
  32. }
  33. </script>
  34. <script src="https://extreme-ip-lookup.com/json/?callback=getCountryCode"></script>
  35.  
  36. </body>
  37. </html>
RAW Paste Data