Skip to content

Commit b78f12a

Browse files
author
github-actions
committed
Release from Ophirofox v2.5.250523.1515
1 parent 842c0e0 commit b78f12a

File tree

1 file changed

+57
-1
lines changed

1 file changed

+57
-1
lines changed

ophirofox.user.js

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 2.5.250522.1547
2+
// @version 2.5.250523.1515
33
// @author Write
44
// @name OphirofoxScript
55
// @grant GM.getValue
@@ -161,6 +161,8 @@
161161
// @include https://www.larecherche.fr/*
162162
// @include https://www.larepubliquedespyrenees.fr/*
163163
// @include https://www.journaldunet.com/*
164+
// @include https://www.science-et-vie.com/*
165+
// @include https://investir.lesechos.fr/*
164166
//
165167
// @run-at document-start
166168
//
@@ -4143,4 +4145,58 @@
41434145
}
41444146
`);
41454147
}
4148+
4149+
if (match(hostname, "https://www.science-et-vie.com/*")) {
4150+
4151+
window.addEventListener("load", function(event) {
4152+
async function createLink() {
4153+
return await ophirofoxEuropresseLink();
4154+
}
4155+
4156+
async function onLoad() {
4157+
const statusElem = document.querySelector(".tag_aboone");
4158+
if (!statusElem) return;
4159+
statusElem.appendChild(await createLink());
4160+
}
4161+
4162+
onLoad().catch(console.error);
4163+
});
4164+
4165+
pasteStyle(`
4166+
.ophirofox-europresse{
4167+
padding: 0 5px 0 5px;
4168+
color: #000000!important;
4169+
border: #f05246 1px solid;
4170+
}
4171+
`);
4172+
}
4173+
4174+
if (match(hostname, "https://investir.lesechos.fr/*")) {
4175+
4176+
window.addEventListener("load", function(event) {
4177+
async function createLink() {
4178+
return await ophirofoxEuropresseLink();
4179+
}
4180+
4181+
async function onLoad() {
4182+
const statusElem = document.querySelector(".post-subscriber-badge");
4183+
if (!statusElem) return;
4184+
statusElem.appendChild(await createLink());
4185+
}
4186+
4187+
onLoad().catch(console.error);
4188+
});
4189+
4190+
pasteStyle(`
4191+
.ophirofox-europresse{
4192+
padding: 0 5px 0 5px;
4193+
color: #000000!important;
4194+
border: #f05246 1px solid;
4195+
display: block;
4196+
margin-left: auto;
4197+
margin-right: auto;
4198+
text-align: center;
4199+
}
4200+
`);
4201+
}
41464202
})();

0 commit comments

Comments
 (0)