Enter about:config in the location bar. Search for the preference browser.frames.enabled. Modify the value to false.