Code for Pso2 Firefox Entension