Update content_script.js
Preserve capitalization
This commit is contained in:
1 parent
329da6f2c2
commit
331c7dee6f
1 file changed
+1
-1
@@ -29,7 +29,7 @@ function walk(node)
|
||||
|
||||
function handleText(textNode)
|
||||
{
|
||||
textNode.nodeValue = textNode.nodeValue.replace(/\bthe cloud\b/gi, "my butt");
|
||||
textNode.nodeValue = textNode.nodeValue.replace(/\bThe cloud\b/g, "My butt").replace(/\bthe cloud\b/gi, "my butt");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user