Pattern Mapping Replacer - Multi-Site

Replaces text based on a mapping with exact matching and site-specific filtering

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
Kreezxil
Günlük kurulumlar
1
Toplam kurulumlar
1
Değerlendirmeler
0 0 0
Versiyon
1.2
Oluşturulma
21.03.2026
Güncellenme
21.03.2026
Boyut
2,88 KB
Lisans
MIT; explicity from MIT license, you must link back to this script.
Geçerli
Tüm siteler

Pattern Mapping Replacer - Multi-Site

This Tampermonkey userscript performs automated text replacement across websites based on a customizable mapping dictionary. It is specifically designed to handle site-specific filtering and case-sensitivity toggles.

Core Features

  • Dynamic Text Replacement: Replaces specific words or phrases within the visible text of a webpage.
  • Site-Specific Filtering: Replacements can be restricted to specific domains (e.g., sefaria.org) or applied globally.
  • Case Sensitivity Control: Each entry in the mapping can be set to either an exact match (true) or case-insensitive (false).
  • Whole Word Matching: Uses regex word boundaries (\b) to ensure it only replaces whole words and not fragments within larger words.
  • Live Updates: Utilizes a MutationObserver to watch for changes in the DOM, ensuring that text loaded dynamically is also replaced.
  • Protected Elements: Automatically ignores script tags, style blocks, textareas, and input fields to prevent breaking site functionality.

Configuration Structure

The script uses a mapping object where each entry follows this format:
"Original Word": [ExactMatch (Boolean), AllowedSites (Array), "Replacement Word"]

  • ExactMatch: If true, the script only replaces the exact casing provided.
  • AllowedSites: An array of domain strings. If the array is empty ([]), the replacement applies to all websites.
  • Replacement: The string that will replace the original pattern.

Notes

  • Other array variables can be defined for sites, so that you can easily tailor matches to any sites.
  • You don't have to use the array variables, you can manually define the arrays in each section. I recommend the variables.