Having a bit of trouble with document.domain - I can set it to the base domain but cannot set back to its original value (subdomain + domain) in FireFox or Edge, though it does work in Opera.
I have read a lot of documentation and doesn't seem to be mention of this limitation anywhere.