fix for fx 34.*

fix for firefox 34.*, as it would not get the window’s documents when
urls were blocked