How to change the color of the user added worknotes in the activity

Community Alums
Not applicable
 
I have written the below script as you mentioned but its giving one issue,This is not allowing the hyperlink to be visible in the worknotes of any task based records.It vanishes
 
function onLoad() {

    var div1 = document.getElementsByClassName('h-card');
    for (var i = 0; i < div1.length; i++) {
        if (div1[i].innerHTML.indexOf('System') == -1) {
            var html = div1[i].innerHTML;
            html = html.replace(/gold/g, "blue");
            div1[i].innerHTML = html;

        }
    }


}
1 REPLY 1

Community Alums
Not applicable

@Ankur Bawiskar  Can you help me here?