Conta Carattri Areadmin

Aggiunge un contatore di caratteri sotto gli input e i textarea all'interno dell'areadmin

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name        Conta Carattri Areadmin
// @description Aggiunge un contatore di caratteri sotto gli input e i textarea all'interno dell'areadmin
// @author Maxeo | maxeo.it
// @license https://creativecommons.org/licenses/by-sa/4.0/
// @include     http://*/admin.php/*
// @include     https://*/admin.php/*
// @icon        http://www.alias2k.com/assets/images/alias-logo-color.png
// @version     1.2.0
// @grant       none
// @namespace https://greasyfork.org/users/88678
// ==/UserScript==
function eseguiConteggio() {
  ($('textarea, input').each(function () {
    
    
    if (!$(this).parent().find('div').hasClass('counerTxtArea'))
    $(this).parent().append('<div class=\'counerTxtArea\'></div>')
  }), $('textarea, input').unbind(), $('textarea, input').bind('keyup', 'textarea, input', function () {
    $(this).next('.counerTxtArea').html($(this).val().length)
  }))
}
eseguiConteggio(),
setInterval(function () {
  eseguiConteggio()
}, 500);