1
cyrbuzz 2020-11-02 12:00:25 +08:00
为啥不进一步 querySelect('a')呢...
|
2
daimon1 2020-11-02 12:09:48 +08:00
用 a.href 获取,然后正则提取目标字符串的内容
|
3
daimon1 2020-11-02 12:14:53 +08:00
xxxx.match(/\'(.*?)\'/ig).map(str => str.substr(1, str.length - 2))
|
4
mostkia 2020-11-02 15:52:35 +08:00
var str = document.querySelector('td a').src;
var strArr = str.split(','); |