Skip to content

Commit 91f6ce3

Browse files
author
github-actions
committed
Release from Ophirofox v2.4.26190.14766
1 parent e91e3d7 commit 91f6ce3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ophirofox.user.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 2.4.26189.65394
2+
// @version 2.4.26190.14766
33
// @author Write
44
// @name OphirofoxScript
55
// @grant GM.getValue
@@ -1916,8 +1916,12 @@
19161916
if ("https://www.latribune.fr/*".includes(hostname)) {
19171917

19181918
window.addEventListener("load", function(event) {
1919+
function extractKeywords() {
1920+
return document.querySelector('h1[itemprop="Headline"]').textContent;
1921+
}
1922+
19191923
async function createLink() {
1920-
const a = await ophirofoxEuropresseLink();
1924+
const a = await ophirofoxEuropresseLink(extractKeywords());
19211925
a.classList.add();
19221926
return a;
19231927
}

0 commit comments

Comments
 (0)