Automatically adding nofollow, noopener & noreferrer to external links & opening in a new tab?

To help with SEO we'd like to be able to force all external links in content & comments to have rel="noopener noreferrer nofollow" added (apart from any 'authorised' domains which we can define in a list).

And to help with site usability we'd also like to force target="_blank" to be added to all external links.

Is this something that's built into Verint somewhere (I've had a good look around, but can't find anything).

Maybe this is a feature coming in v12?

Parents
No Data
Reply
  • Thanks. 

    For anyone else wanting to do something similar, this code will give you a head start;

    var propertyNames = context_v2_automationTrigger.Arguments.Properties.PropertyNames; // E.g. 'Body,Title', or 'Body'
    
    // Is there a body field we can adjust?
    if(propertyNames.indexOf('Body')>-1) {
        var bodyHtml = context_v2_automationTrigger.Arguments.Properties.Body;
        context_v2_automationTrigger.Arguments.Properties.Body = adjustMyLinks(bodyHtml);
    }

Children
No Data