Add 27.0 js src

This commit is contained in:
√(noham)²
2026-09-17 13:47:07 +02:00
parent c768a1667c
commit 897293bc5f
39 changed files with 24598 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
//# sourceURL=__InjectedScript_WDElementDisplayed.js
function fetchTagNameAndAttributesOfElement(element) {
"use strict";
let tagName = element.tagName.toUpperCase();
let attributes = {};
for (let i = 0; i < element.attributes.length; ++i) {
let name = element.attributes[i].name.toLowerCase();
let value = element.attributes[i].value;
if (!value.length) value = null;
attributes[name] = value;
}
return { tagName, attributes };
}