淘宝列表页面的宽度

淘宝列表页面的宽度以适合宽屏显示

当前为 2023-01-22 提交的版本,查看 最新版本

// ==UserScript==
// @name         淘宝列表页面的宽度
// @version      1.0
// @author       amer0798
// @icon         https://www.taobao.com/favicon.ico
// @description  淘宝列表页面的宽度以适合宽屏显示
// @match        *://s.taobao.com/search?*
// @include      https://s.taobao.com/search?q
// @grant GM_log

// @grant GM_getResourceText

// @grant GM_addStyle

// @grant        none
// @namespace https://greasyfork.org/users/740997
// ==/UserScript==

(function() {
    'use strict';
    var css = `

.grid-right{display:none!important}.grid-left{width:100%!important}.m-header-fixed .header-inner{left:50%;margin-left:-534px}.response-wider .grid-total{width:1884px!important}

`;
    var style=document.createElement("style");
    style.innerText=css;
    document.getElementsByTagName('head')[0].appendChild(style);


})();