wedata

Database: vimp copy

Item Details: selected img alt

label selimgalt
value %HTMLSEL%
custom function(v, v2) { var m; var doc = window.content.document; while ((m = /(<img.[^>]+>)/ig(v2)) != null) { try { let dom = (new DOMParser()).parseFromString(m[1], "text/xml"); if (dom.firstChild && dom.firstChild.getAttribute("alt")) return dom.firstChild.getAttribute("alt"); } catch (e) {}} }

History

Back