move firebug workaround into the FirefoxAdapter