Code for faking Flash in PhantomJS