谷歌搜索结果居中,输入框扩大

谷歌搜索结果居中,输入框扩大。body切换grid布局,内容居中,搜索框拉长

// ==UserScript==
// @name         谷歌搜索结果居中,输入框扩大
// @namespace    http://tampermonkey.net/
// @version 0.91
// @description  谷歌搜索结果居中,输入框扩大。body切换grid布局,内容居中,搜索框拉长
// @author       nyaxs
// @match        https://www.google.com/search*
// @run-at       document-start
// @grant        none
// @license      MIT 
// ==/UserScript==
 

(function() {
        'use strict';
        var style=document.createElement('style');
        var cssStyle='@media(min-width:1410px){body {display:grid !important; justify-content:center;}  form .RNNXgb{width:70vw !important;} .GeTMDd{width:100% !important}';
        style.innerText=cssStyle;
        document.querySelector('head').appendChild(style);
    }
)();