ipython/ipython — pull request #3453 by ivanov (2013-06-20 22:35:54+00:00)
Title: fix cell execution in firefox, closes #3447

location.origin is specific to WebKit only. The fix is to use a
combination of location.protocol and location.host