domain2.com loads the scripts from domain1.de. When using history.back(), the script starts executing on domain2.com, but the callback is executed on domain1.de.

Go back to domain1.de