I can't help with that, but on my laptop I keep a copy of Firefox 47 portable running so i can still access my cameras.You can try that and edit it as necessary.
I was terrified to do this and possibly brick my just-recovered camera, but it worked! My temp6 file wasn't the same as yours, but I simply changed the same places and increased my 52 to a 53 on the second byte and was good to go. Thanks!