diff --git a/CloudToButt.crx b/CloudToButt.crx index a554345..a5db2d8 100644 Binary files a/CloudToButt.crx and b/CloudToButt.crx differ diff --git a/Source/content_script.js b/Source/content_script.js index 0f8e541..925ca31 100644 --- a/Source/content_script.js +++ b/Source/content_script.js @@ -29,7 +29,14 @@ function walk(node) function handleText(textNode) { - textNode.nodeValue = textNode.nodeValue.replace(/\bThe cloud\b/g, "My butt").replace(/\bthe cloud\b/gi, "my butt"); + var v = textNode.nodeValue; + + v = v.replace(/\bThe Cloud\b/g, "My Butt"); + v = v.replace(/\bThe cloud\b/g, "My butt"); + v = v.replace(/\bthe Cloud\b/g, "my Butt"); + v = v.replace(/\bthe cloud\b/g, "my butt"); + + textNode.nodeValue = v; }