InjectFunction = function(PageScriptSpace, func) {
PageScriptSpace.innerHTML += func;
}
PageScriptSpace = document.createElement('script');
InjectFunction(PageScriptSpace, showMessage);
document.querySelector('head').appendChild(PageScriptSpace);
var links = document.querySelectorAll('.list-item__link'),
linksArray = Array.prototype.slice.call(links),
logArray = [];
linksArray.forEach(function(link){
logArray.push( link.getAttribute('href') + ' - ' + link.querySelector('.list-item__date').innerHTML );
});
var log = logArray.join('\n');