Skip to content

Commit 4e735bc

Browse files
[Backport mv3] Fix l'Humanité selector (#433)
Co-authored-by: Joffrey <541722+Write@users.noreply.github.com>
1 parent fa0d3c6 commit 4e735bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ophirofox/content_scripts/humanite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ async function createLink() {
55
}
66

77
async function onLoad() {
8-
const reserve = document.querySelector("main .single__categories .u-icon-32");
8+
const reserve = document.querySelector("#poool-paywall");
99
if (!reserve) return;
1010

11-
const auteurElem = document.querySelector(".single__content__text__published");
11+
const auteurElem = document.querySelector(".single__author");
1212
if (!auteurElem) return;
1313

1414
auteurElem.appendChild(await createLink());

0 commit comments

Comments
 (0)