pub fn strip_ansi(input: &str) -> String
Strip ANSI escape sequences from a captured message so malicious page content (or legitimate page console.log bridged through) cannot poison logs with terminal control codes.
console.log