SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html>
  <body>


    <div id="he-plugin-standard"></div>标准模式
    <script>
    WIDGET = {
      "CONFIG": {
        "layout": "1",
        "width": "200",
        "height": "150",
        "background": "1",
        "dataColor": "FFFFFF",
        "borderRadius": "5",
        "city": "CN101043500",
        "modules": "10",
        "key": "71b7503654a749888ff921362e84adac"
      }
    }
    </script>
    <script src="https://widget.qweather.net/standard/static/js/he-standard-common.js?v=2.0"></script>

    <div id="he-plugin-simple"></div>简单模式
    <script>
    WIDGET = {
      "CONFIG": {
        "modules": "10243",
        "background": "1",
        "tmpColor": "FFFFFF",
        "tmpSize": "16",
        "cityColor": "FFFFFF",
        "citySize": "16",
        "aqiColor": "FFFFFF",
        "aqiSize": "16",
        "weatherIconSize": "24",
        "alertIconSize": "20",
        "padding": "10px 10px 10px 10px",
        "shadow": "1",
        "language": "auto",
        "borderRadius": "10",
        "fixed": "true",
        "vertical": "top",
        "horizontal": "left",
        "city": "CN101043500",//CN101040100重庆,CN101043500大渡口
        "key": "0e3f9928680f4fdbb6d46786ad432699"
      }
    }
    </script>
    <script src="https://widget.qweather.net/simple/static/js/he-simple-common.js?v=2.0"></script>



    <div id="result"></div>

      <script>
        // Check browser support
        if (typeof(Storage) !== "undefined") {
            // Store
            var A="AA";
            var B="BB";
            localStorage.setItem(A , B);
            localStorage.setItem("lastname", "Gates");
            // Retrieve
            document.getElementById("result").innerHTML = localStorage.getItem(A);
        } else {
            document.getElementById("result").innerHTML = "抱歉!您的浏览器不支持 Web Storage ...";
        }
      </script>



  </body>
</html>