How to Target a word on entire site

To target a word on all pages, you can use this code to Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
  var term = 'Leanne';
$('#page article *').html(function () { 
    return $(this).html().replace(new RegExp(term + "(?=[^>]*<)","ig"), "<span class='leanne'>$&</span>");
});
});
</script>
<style>
span.leanne {
    font-family: beloved-script !important;
    color: #f1f;
}
</style>

Result
Before

After