optimize-code.php 611 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Author: ExactMetrics team
  4. * Copyright 2018 ExactMetrics team
  5. * Author URI: https://exactmetrics.com
  6. * License: GPLv2 or later
  7. * License URI: http://www.gnu.org/licenses/gpl-2.0.html
  8. */
  9. ?>
  10. <style>
  11. .async-hide {
  12. opacity: 0 !important
  13. }
  14. </style>
  15. <script>
  16. (function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
  17. h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
  18. (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
  19. })(window,document.documentElement,'async-hide','dataLayer',4000,
  20. {'<?php echo $data['containerid']; ?>':true});
  21. </script>