diff --git a/ophirofox/content_scripts/la-tribune.js b/ophirofox/content_scripts/la-tribune.js index 93ca7e53..f72347fa 100644 --- a/ophirofox/content_scripts/la-tribune.js +++ b/ophirofox/content_scripts/la-tribune.js @@ -1,5 +1,9 @@ +function extractKeywords() { + return document.querySelector('h1[itemprop="Headline"]').textContent; +} + async function createLink() { - const a = await ophirofoxEuropresseLink(); + const a = await ophirofoxEuropresseLink(extractKeywords()); a.classList.add(); return a; }