首页 > 代码库 > chrome

chrome

$x("//a")             //xpath

 

var a=/d+/gi

a.exec(document.body.innerText)  //regular expression

document.body.innerText.match(a)

chrome