First working draft based on FIREFOX only