Update 00_html_header.html
This commit is contained in:
@@ -33,19 +33,3 @@
|
|||||||
.pct_error {background: red}
|
.pct_error {background: red}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
|
||||||
var content = document.getElementById("content");
|
|
||||||
var text = content.innerHTML;
|
|
||||||
|
|
||||||
// Remplacez ici les mots que vous souhaitez mettre en surbrillance
|
|
||||||
var wordsToHighlight = ["ARCHIVELOG"];
|
|
||||||
|
|
||||||
wordsToHighlight.forEach(function(word) {
|
|
||||||
var regex = new RegExp('\\b(' + word + ')\\b', 'gi');
|
|
||||||
text = text.replace(regex, '<span class="highlight">$1</span>');
|
|
||||||
});
|
|
||||||
|
|
||||||
content.innerHTML = text;
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user