diff --git a/src/client/preview/index.js b/src/client/preview/index.js
index <HASH>..<HASH> 100644
--- a/src/client/preview/index.js
+++ b/src/client/preview/index.js
@@ -13,7 +13,8 @@ import { selectStory } from './actions';
 import reducer from './reducer';
 
 // check whether we're running on node/browser
-const isBrowser = typeof window !== 'undefined';
+const { navigator } = global;
+const isBrowser = navigator && navigator. userAgent !== 'storyshots';
 
 const storyStore = new StoryStore();
 const reduxStore = createStore(reducer);
Check if we are on storyshots in preview (#<I>)

storyshots adds polyfills for window. So preview will incorrectly assume we’re on a browser. This will avoid that.