This is some JavaScript that turns Ingress passcodes into something usable to get supplies in the game.