-
Notifications
You must be signed in to change notification settings - Fork 3
/
optimizations.js
92 lines (81 loc) · 13.6 KB
/
optimizations.js
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// create DOM
const parser = document.createElement('DIV');
function parse(html) {
parser.innerHTML = html;
return parser.firstChild;
}
// add above styles to the page
const stylesString = `
/* img, video */
img, video {
contain: content;
content-visibility: auto;
}
/* too-bar */
nav.bb {
height: 55px;
contain: strict;
content-visibility:auto;
contain-intrinsic-size: 55px;
}
/* all sections */
#__next > .jsx-2b91b8133a45a7a2 > .jsx-2b91b8133a45a7a2 {
contain: content;
content-visibility: auto;
contain-intrinsic-size: 300px;
}
/* hero text avatars*/
.marketing-presence-widget.jsx-140043cc736fed23:after {
background-image: none !important;
}
.marketing-presence-widget.jsx-140043cc736fed23 {
positing: relative;
}
.marketing-presence-widget.jsx-140043cc736fed23 img.avatar {
top: -28px;
position: relative;
z-index: 10;
border-radius: 50% 50% 50% 3px;
}
/* carousels */
.jsx-1511261573 > .jsx-1511261573 > .jsx-1511261573 {
contain: strict;
content-visibility: auto;
contain-intrinsic-size: 200px;
}
/* cards */
.carousel-notebook {
contain: content;
content-visibility: auto;
}
/* LCP video (placeholder img inlined as base64) */
.mw-section video {
min-height: 427px;
background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wEEEAASABIAEgASABMAEgAUABYAFgAUABwAHgAbAB4AHAApACYAIgAiACYAKQA+ACwAMAAsADAALAA+AF4AOwBFADsAOwBFADsAXgBTAGUAUgBNAFIAZQBTAJYAdgBoAGgAdgCWAK0AkQCKAJEArQDSALwAvADSAQgA+wEIAVkBWQHQEQASABIAEgASABMAEgAUABYAFgAUABwAH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RAAIBAwIHAQEAAAAAAAAAAAERAAIhUBBAAxIgMVFgYRNw/9oACAECAQE/APe6Ty1Apozi8T9KzUgP4OMGxOYEGVVBKUYKo3ENTMVXaXawDvDUjA0ZdfYrNXnL2gpAO4LPWYrROEQDdrrUUWxWii6FFFgk4lpbR716gqUmGO2FJfozw1tRbBvRxxx/BHHH8Ece7th7+JcS/iG3jtg7ecKjFh7YVx6OP0T/xAAkEQACAgAFBAMBAAAAAAAAAAABEQACEiFQYGEQIDFAA0FRMP/aAAgBAwEBPwDfZDBEpXBVN7hOjXzIPGhfsVlDSwIlKHGyk58nkDQqgYTK1QmKpz/IcKJTh99ZStQRzLIkcQp8GG2aeUxHOG5IXsBDvEJzjXiAwn23/Bx+i44+1xx6CY1G59zPooOwewoulg5YQRZvodDAWxVpJ+tGUXMUw8mLmLmYeTFFsMiMfpiBr5z3fn1D0NdVFFsP/9k=')
}
/* footer */
footer {
contain: content;
content-visibility: auto;
contain-intrinsic-size: 200px;
}
`;
// Add all needed styles
const styleTag = document.createElement('style');
styleTag.innerHTML = stylesString;
document.head.appendChild(styleTag);
// avatars
document.querySelector('.marketing-presence-widget.jsx-140043cc736fed23:nth-child(1)')
.innerHTML = '<img class="avatar" width="32" height="32" src="https://avatars.observableusercontent.com/avatar/4b4606a6f4b81cdc32e2a3271381da5fad8ffdbd1089b14e89ebcfd1c98a11c0?s=128">';
document.querySelector('.marketing-presence-widget.jsx-140043cc736fed23:nth-child(2)')
.innerHTML = '<img class="avatar" width="32" height="32" src="https://avatars2.githubusercontent.com/u/96189?v=4&s=128">';
// images
// At pageload `31` images are loaded, after relevant images are loaded lazy `14` are loaded
const imgs = document.querySelectorAll('img, iframe');
Array.from(imgs)
.forEach(i => {
i.setAttribute('loading', 'lazy');
});
// hero video
const v = parse('<link rel="preload" as="fetch" href="https://static.observablehq.com/assets/videos/Notebook-Demo.mov">');
document.head.prepend(v);