Javascript is a headache. And extensions also. With my zero knowledge I came up with this. It will put all the links to games on a page in your log. But it already fails if you have infinity scroll active. So in theory you would grab the links from your library pages, and create a filter css out of it and save that css, and inject it onto the browse pages. You could do filtering with js, but I believe it is better to let the browser handle it with the css mechanism.
var cells = document.getElementsByClassName("game_cell"); for (var i=0;i<cells.length;i+=1) { var links = cells[i].getElementsByClassName('title game_link'); console.log(i, links[0].href) }