Update 00_html_header.html

This commit is contained in:
Yacine31
2023-12-11 04:58:45 +01:00
parent 94c8d6f701
commit df0139d670

View File

@@ -33,19 +33,3 @@
.pct_error {background: red}
</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>