query all javascript code example
Example 1: select all elements javascript
var elements = document.getElementsByTagName("*");
Example 2: document.queryselectorall extract all href element
[].forEach.call( document.querySelectorAll('img.PinImageImg'),
function fn(elem){
console.log(elem.src);
});