mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-20 10:05:00 +08:00
点击元素和移动到元素的默认名称更改为点击/移动到的元素的文本值
This commit is contained in:
parent
fd9d2b5b24
commit
7030473b39
@ -467,7 +467,8 @@ function toolBoxKernel(e, para = null) {
|
|||||||
if (str == "") {
|
if (str == "") {
|
||||||
title += LANG("元素", "Element");
|
title += LANG("元素", "Element");
|
||||||
} else {
|
} else {
|
||||||
if(window.location.href.indexOf("_CN") != -1){ //中文
|
let lang = detectLang(str);
|
||||||
|
if(lang == 1){ //中文
|
||||||
if (str.length > l) {
|
if (str.length > l) {
|
||||||
str = str.substring(0, l) + "...";
|
str = str.substring(0, l) + "...";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user