Beautify the Baidu HomePage

百度首页(www.baidu.com)美化,简约。

// ==UserScript==
// @name         Beautify the Baidu HomePage
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  百度首页(www.baidu.com)美化,简约。
// @author       GuoCS
// @match        https://www.baidu.com/
// @icon         https://www.baidu.com/favicon.ico
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var xhr = new XMLHttpRequest();
    xhr.open('get', 'https://v1.jinrishici.com/all.txt');
    xhr.onreadystatechange = function () {
        if (xhr.readyState === 4) {
            $('#kw').attr('placeholder',xhr.responseText)
        }
    };
    xhr.send();
    Promise.resolve().then(() => {
    let myEl = document.createElement('style');

    myEl.innerHTML = `
     .s_ipt::-webkit-input-placeholder{

         color:  #000000 !important;
        text-align: center;
        font-family: STKaiti;
        font-size:16px;

    }
    .s_ipt{
        text-align: center;
        font-weight: 800px;
        background: none !important;
        border-color: none !important;
        border: 2px solid #CEF6F5 !important ;
    }
    .s-skin-hasbg #head_wrapper #form #kw:focus:focus{
        border-color: #c4c7ce !important;
    }
    .soutu-btn{

        background:url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/soutu/img/camera_new_5606e8f.png) no-repeat !important;
    }
    .self-btn{
        background:#8ad1f5 !important;
    }
    .bdsug{
        box-shadow:none;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
    }
    .bdsug li{
        font-weight:normal !important;
        text-align: center;
        color:#FF9966!important;
    }
    .bdsug li b{
       font-weight:normal !important;
       color:#66CC33 !important;
     }
    .bdsug li:hover{
        color:#66CC33 !important;
        background:none !important;
        background-color:whitesmoke !important;
    }
   .s-skin-hasbg #head_wrapper #form .bdsug-new{
        border-radius: 10px 10px 10px 10px !important;
        margin-top:5px;
        border-color: whitesmoke !important;
    }
    #bottom_layer{
        display: none;
    }

    `;
    document.body.appendChild(myEl);
});
    // Your code here...
})();