Create a Text Replacement Rule
- Open the Demohacks side panel by clicking the extension icon
- Select Replace Text from the toolbox
- Click the + button at the bottom to create a new rule
- Enter a Title for your rule (optional)
- Enter the Default Text you want to replace
- Enter the Replacement text
- Optionally add a URL Filter to limit the rule to specific pages (e.g.,
example.com/dashboard)
Replace Multiple Texts at Once
Use custom text replacement rules to replace multiple texts in one rule:
- Select Custom from the toolbox
- Choose Text Replacements as the rule type
- Enter replacements using the format:
Old text = New text
Another text = Replacement text
Each replacement should be on its own line.
How It Works
Text replacement applies in real time when demo mode is enabled. The extension:
- Replaces text in page content, titles, and form inputs
- Handles dynamic content that loads after page load
- Works across single-page applications (SPAs)
Tips
- Use exact matches: the replacement looks for the exact “Default Text” you specify
- Case-sensitive: “Hello” and “hello” are treated as different texts
- URL filters use pattern matching:
example.commatches all pages on that domain - Leave replacement empty to remove text entirely (only in custom text rules)