Greasy Fork is available in English.

getClassName

get permanant changed ClassName

Устаревшая версия на 20.03.2022. Перейти к последней версии.

Автор
MeGa Mosbah
Оценки
0 0 0
Версия
1.1
Создан
20.03.2022
Обновлён
20.03.2022
Лицензия
Недоступно
Работает на

This program is used to get a className of an element that changes permanently.
to use this program:
- look for a targetFix. (exp: placeholder, style.....) an internal html that doesn't change.
- define the two extremes beginning and end by taking a margin.
exp:

here: targetFix = "Se déconnecter";[ Se déconnecter ]

here: targetFix = "Se déconnecter";
begin = target -90; /*the differnece between the begining of the class name (taking a margin befor the beginin of 03 positions)
end = target -65; the differnece between the end of the class name (taking a margin after the beginin 03 positions).