I\'m trying to make a little extension that checks the google search results for wikipedia articles, and adds a little extra link afterwards. But am having a little trouble
Google is loading results via AJAX so you need to use an event listener for DOMNodeInserted
events.
function filterResultInserts(event) {
console.log(event);
}
target.addEventListener('DOMNodeInserted', filterResultInserts);
Within filterResultInserts
you will have to look for classes or ids that match results and modify them.