-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Réparation bouton Le Point * Ajout de Corse Matin, La Tribune, L'Opinion, Nice-Matin * Rectification du formatage du code * Ajout L'Orient-Le Jour * Restylage bouton L'Est Républicain * Réparation bouton Libération * Restylage bouton libé * Réparation bouton L'Express * Libé * Libé * Libé * Ajout Challenges
- Loading branch information
1 parent
04f5d39
commit 1bfbf13
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.ophirofox-europresse { | ||
background-color: #fcc525; | ||
font-family: "DIN",Helvetica,arial,sans-serif; | ||
color: #101010 !important; | ||
text-transform: uppercase; | ||
font-size: 11px; | ||
padding: 4px 6px 1px 6px; | ||
display: inline-block; | ||
} | ||
|
||
.ophirofox-europresse:hover { | ||
color: #a6a6a6 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
console.log('Ophirofox loaded'); | ||
|
||
async function createLink() { | ||
return await ophirofoxEuropresseLink(); | ||
} | ||
|
||
async function onLoad() { | ||
const statusElem = document.querySelector("span.article-abo-tag"); | ||
if (!statusElem) return; | ||
statusElem.before(await createLink()); | ||
} | ||
|
||
onLoad().catch(console.error); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters