EFForg/privacybadgerchrome — pull request #227 by froeschele (2014-07-15 20:05:18+00:00)
Title: Fix race condition in social widget replacement

This fixes a race condition in the social widget replacement content script. Previously, the content script checked once for buttons to replace, but it can miss buttons if they haven't yet been blocked at the time of check. So now it (1) checks on content script load, to replace anything that's already been blocked, and (2) listens for subsequent messages of blocked buttons, and replaces them at that time.