1var d = document;2var $$ = d.querySelectorAll.bind(d);3var l = window.location.hostname;4var likeButtons = $$('div[aria-label^="Like ("]');5var filteredLikeButtons = [...likeButtons].filter(likeButton => !!likeButton.offsetParent);6filteredLikeButtons.forEach(e => e.click());7