For example if i have code like this:
javascript:
var inputs = document.getElementsByClassName('SomeClass');
for(var i=0; i<inputs.length;i++) {
inputs[i].click();
}
that can click on all inputs in page with "SomeClass" is it possible to do it for link with specific class and open them all in new tabs?