|
之前看到帖子说信息都跑到左侧。原帖没找到。方法查了下,强迫症的人可以参考下
https://www.reddit.com/r/chrome/comments/mr4ned/google_search_shifted_all_the_way_to_the_left/
tampermonkey
-----------------------------
// ==UserScript==
// @name faster google left margin
// @namespace http://tampermonkey.net/
// @version 0.1
// @description adds left margin to google.com search results
// @author You
// @match https://www.google.com/search*
// @exclude https://www.google.com/search*&tbm=nws*
// @icon https://www.google.com/s2/favicons?domain=google.com
// @grant none
// ==/UserScript==
/*globals $*/
var top_nav = document.getElementById("top_nav"); top_nav.setAttribute("style", "margin-left:152px;");
var slim_appbar = document.getElementById("slim_appbar"); slim_appbar.setAttribute("style", "margin-left:332px;");
var center_col = document.getElementById("center_col"); center_col.setAttribute("style", "margin-left:332px;");
var rhs = document.getElementById("rhs"); rhs.setAttribute("style", "margin-left:1047px;");
----------------------------- |
|