Advertisement
Guest User

end of <body>

a guest
Jul 16th, 2014
12
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. window.jQuery(function() {
  3.     if(window.jQuery('.tpmHasAccess').length === 0) {
  4.         setCookie('showAdvertHeader', 'true', 365);
  5.         if (!showAdvertHeader && getCookie('showAdvertHeader')) {
  6.             location.reload()
  7.         }
  8.     }
  9.     else {
  10.         setCookie('showAdvertHeader', 'false', 365);
  11.     }
  12. });
  13. </script>
Advertisement
RAW Paste Data Copied
Advertisement