retesere20

typical JAVA SCRIPT LOAD dynamically

Jun 5th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1.  
  2. <script type="text/javascript">
  3. privacy_policy_text_TT.lang="en";
  4. var script = document.createElement('script');
  5. var host = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  6. script.src = host + 'rawgit.com/tazotodua/useful-javascript/master/default_privacy_policy_text.js';
  7. document.head.appendChild(script);
  8. </script>
Advertisement
Add Comment
Please, Sign In to add comment