presidentA

conserta a grafia para "presidenta"

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

You will need to install an extension such as Tampermonkey to install this script.

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!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

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

// ==UserScript==
// @name        presidentA
// @namespace   dbb.9hells.org
// @description conserta a grafia para "presidenta"
// @include     *
// @exclude     https://greasyfork.org/*
// @exclude     http://greasyfork.org/*
// @version     1.0
// @grant       none
// ==/UserScript==

(function() {

  function replaceAll(from, to) {
    var regexp = new RegExp(from, 'g');
    document.body.innerHTML= document.body.innerHTML.replace(regexp, to);
  }
  
  replaceAll('a Presidente', 'a Presidenta');
  replaceAll('a presidente', 'a presidenta');
  replaceAll('A Presidente', 'A Presidenta');
  replaceAll('A presidente', 'A presidenta');
  replaceAll('Presidente Dilma', 'Presidenta Dilma');
  replaceAll('presidente Dilma', 'presidenta Dilma'); 
})();