To remove the vendor/
diffs in Go, add a bookmark in Firefox with:
javascript:(function(){ var q = prompt("Example filter: vendor/"); if (q != null) { $(".diff-file:contains(" + q + ")").detach() }}())
To expand all the resolved comments in a GitHub pull request, I used to use a bookmark with a javascript snippet using this Gist, but it seems like GitHub silently added a feature where pressing Option while clicking on "Expand comment" on one of the folded comments expands all the comments at once.