微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

javascript – Google审核问题

The following external CSS files were
included after an external JavaScript
file in the document head. To ensure
CSS files are downloaded in parallel,
always include external CSS before
external JavaScript. 1 inline script
block was found in the head between an
external CSS file and another
resource. To allow parallel
downloading,move the inline script
before the external CSS file,or after
the next resource.

我的HTML是:

<head>

    <link rel="Stylesheet" href="gStyle.css" />        
    <script type="text/javascript" src="gMain.js"></script>
    <script type="text/javascript" language="javascript">

       // Your chart object(s)
        var myChart;

        // Function to hold all chart creation
        function initCharts() {

            myChart = new ganttChart("chart1");

            myChart.gAddBar("Dynamic!","22/3/2010","3/4/2010");

            myChart.gLoadData("Going to the shoP*4/3/2010*19/3/2010*Watching TV*9/3/2010*23/3/2010*Watching TV*1/3/2010*23/3/2010*Watching TV*18/3/2010*28/3/2010*END INPUT*1/3/2010*9/3/2010");

            myChart.gDraw();

            myChart.gChangeBarColour(1,"#dd2200");
            myChart.gChangeBarColour(2,"#9900ee");
            myChart.gChangeBarColour(3,"#00dd00");
            myChart.gChangeBarColour(4,"#ffbb00");
            myChart.gChangeBarColour(5,"#00aa99");

        }

    </script>

</head>

<body onload="initCharts()">




    <div id="chart1" class="gContainer">     


    </div>

    <div id="db"></div>

</body>

身体内嵌脚本是否变得混乱?

解决方法

检查页面元素.您的Chrome扩展程序可能会在HEAD中向页面动态添加脚本.

原文地址:https://www.jb51.cc/js/151719.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐