2) You can't actually use an xbox controller with a computer (and hence with firefox) anyway without a USB cable. You could use a 360 controller, but not the first Xbox.
Xbox 1 controllers are just USB. You only need an adapter. Microsoft made them for a while for Final Fantasy. If you just cut the end off a controller and a usb cable, the wires inside are even properly color-coded.