-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhide.css
More file actions
70 lines (59 loc) · 1.99 KB
/
Copy pathhide.css
File metadata and controls
70 lines (59 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
* Fast-paint hides + layout fixes verified against live DOM 2026-05-14.
* content.js handles the structural allowlist for everything else.
*/
/* AI Overview wrapper and skeleton */
div.M8OgIe,
#m-x-content,
[jscontroller="AkrxPe"],
[data-subtree="aio"],
[data-attrid*="GenerativeAI"],
/* AI Mode entry points */
a[href*="udm=50"],
[aria-label*="AI Mode" i],
[aria-label*="Ask AI" i],
/* Sponsored / Ads */
#tads,
#tadsb,
#bottomads,
div[data-text-ad],
div[aria-label="Ads" i],
.commercial-unit-desktop-top,
.commercial-unit-desktop-rhs,
g-shopping-pack,
/* Knowledge Panel / Right rail (also reclaims horizontal space) */
#rhs,
/* People Also Ask — accordion items use this semantic class even when the
section heading is absent on some SERP variants */
.related-question-pair,
/* Featured-image thumbnails next to organic results
(favicons live in .XNo5Ab and are left alone) */
.uhHOwf,
/* "Things to know" widgets */
[data-attrid*="things_to_know"],
[data-attrid*="things_to_consider"],
/* Shopping refinement chip bar (Mountain / Road / Gravel / Hybrid / …)
that appears below the main filter tabs on product/commercial queries */
div.yXu61c,
/* Left-rail "Refine results" filter panel (Type / Price / Age Group /
Features / Suspension Type / Department) on shopping-style queries */
ul.xvRDEb,
div.Pl4aJc {
display: none !important;
}
/* --- Layout: widen the results column without floating it to the middle ---
* #rcnt is a 22-column CSS grid (130px + 20*36px + 130px). With #rhs
* hidden, the right-rail column track is empty but still reserved.
* Extending #center_col across cols 2 through -1 reclaims that space
* while keeping the column anchored to Google's natural left position
* (~150px) — so scan-position muscle memory survives. Cap the visible
* width at 760px for readable line length. */
#center_col {
grid-column: 2 / -1 !important;
width: 760px !important;
max-width: 100% !important;
}
#search, #rso {
width: auto !important;
max-width: 100% !important;
}