Array.prototype.forEach.call(document.querySelectorAll('[title*="/bower_components/"]'), function(node){
node.parentNode.parentNode.parentNode.remove();
});
Bookmarklet can be found after this link: http://xiphe.net/remove_bower_components_bookmarklet.html
(github removes href
attributes when they contain javascript)
Since Github does not have jquery any more, this is not working any longer.
Here is a vanilla version: