blob: 342401f2b38d0589f27b11c93dea9732027b9301 (
plain)
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
|
/**
* SPDX-License-Identifier: CC0-1.0
*
* Copyright (C) 2026 Woj. Kosior <koszko@koszko.org>
*/
if (false) { /* #+begin_src background-js */
jsBlockUrls =
/* #+begin_src manifest-jq
.matches =
# */
["https://www.linkedin.com/pulse/*"]
} /* #+end_src *both* */
/*
* Make images display on linkedin.com/pulse
*
* Sample URL:
* - https://www.linkedin.com/pulse/exposing-internal-serial-port-debugging-acer-r13-peter-ng%E1%BB%8Dc-nguy%E1%BB%85n-2gjsf
*/
for (const img of document.querySelectorAll('img[data-delayed-url]')) {
img.src = img.getAttribute('data-delayed-url');
img.style.opacity = '1';
}
|