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