These apps look for mentions of Star Wars or other key words associated with the movie and block those pages.
Chrome Extension: Force Block: the Star Wars spoiler blocker
Star Wars Spoiler Blocker (Chrome)
Facebook Filter Feed (also a Chrome extension)
TweetDeck. Block spoilers on Twitter by using TweetDeck, clicking on setting and selecting mute: