[Webkit-unassigned] [Bug 199704] New: Pages using Google Tag Manager Google's anti-flicker optimization may take ~5 seconds to do initial paint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 11 02:06:28 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199704

            Bug ID: 199704
           Summary: Pages using Google Tag Manager Google's anti-flicker
                    optimization may take ~5 seconds to do initial paint
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rik at webkit.org

This is a followup of bug 199173.

Visible on https://www.formula1.com/en.html

This page uses the other snippet to load Google Analytics. I think this is now the main snippet given by Google.


<!-- Page hiding snippet (recommended)  -->
<style>.async-hide { opacity: 0 !important} </style>
<script>(function(a,s,y,n,c,h,i,d,e)
{s.className+=' '+y;h.start=1*new Date; h.end=i=function()
{s.className=s.className.replace(RegExp(' ?'+y),'')};
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
})(window,document.documentElement,'async-hide','dataLayer',4000,
{'GTM-KB77S58':true});
</script>
<!-- Google Tag Manager -->
<script>
    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NTR4PPW');
</script>
<!-- End Google Tag Manager -->

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190711/1a82e61a/attachment-0001.html>


More information about the webkit-unassigned mailing list