Skip to content

Commit 740a12d

Browse files
authored
New site (#339)
1 parent c8f6e5c commit 740a12d

File tree

5 files changed

+61
-0
lines changed

5 files changed

+61
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.ophirofox-europresse{
2+
padding: 0 5px 0 5px;
3+
color: #000000!important;
4+
border: #f05246 1px solid;
5+
display: block;
6+
margin-left: auto;
7+
margin-right: auto;
8+
text-align: center;
9+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
async function createLink() {
2+
return await ophirofoxEuropresseLink();
3+
}
4+
5+
async function onLoad() {
6+
const statusElem = document.querySelector(".post-subscriber-badge");
7+
if (!statusElem) return;
8+
statusElem.appendChild(await createLink());
9+
}
10+
11+
onLoad().catch(console.error);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.ophirofox-europresse{
2+
padding: 0 5px 0 5px;
3+
color: #000000!important;
4+
border: #f05246 1px solid;
5+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
async function createLink() {
2+
return await ophirofoxEuropresseLink();
3+
}
4+
5+
async function onLoad() {
6+
const statusElem = document.querySelector(".tag_aboone");
7+
if (!statusElem) return;
8+
statusElem.appendChild(await createLink());
9+
}
10+
11+
onLoad().catch(console.error);

ophirofox/manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,31 @@
774774
"css":[
775775
"content_scripts/journaldunet.css"
776776
]
777+
},
778+
{
779+
"matches": [
780+
"https://www.science-et-vie.com/*"
781+
],
782+
"js": [
783+
"content_scripts/config.js",
784+
"content_scripts/science-et-vie.js"
785+
],
786+
"css":[
787+
"content_scripts/science-et-vie.css"
788+
]
789+
}
790+
,
791+
{
792+
"matches": [
793+
"https://investir.lesechos.fr/*"
794+
],
795+
"js": [
796+
"content_scripts/config.js",
797+
"content_scripts/investir-lesechos.js"
798+
],
799+
"css":[
800+
"content_scripts/investir-lesechos.css"
801+
]
777802
}
778803
],
779804
"browser_specific_settings": {

0 commit comments

Comments
 (0)