// Description 'Show hidden element from xpath. (转义引号、空格等)',
// Action. What the command does. Always gets 'args'. function (args) { let xpath = args[0]; let x = xpath, list, ls; if (xpath != "") { list = getElementsByXPath(xpath); let body = content.document.body; let ele = list[0].cloneNode(true); // let fc = body.firstChild; // list = getElementsByXPath("//*"); // hideFromPath(list); body.innerHTML = ele.outerHTML; // content.document.body.appendChild(ele); // body.insertBefore(ele,fc); // ele.style.display = 'block'; } } );