Skip to content

Instantly share code, notes, and snippets.

@listochkin
Last active September 19, 2017 06:16
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save listochkin/f119772e62929df67d8a5110a399035b to your computer and use it in GitHub Desktop.
Save listochkin/f119772e62929df67d8a5110a399035b to your computer and use it in GitHub Desktop.
How to Enable Gitter Next in Franz

Switch to Gitter Next in Franz

  1. Open Franz DevTools. They don't have a UI for that but support team told me that Ctrl+Alt+Shift+Fn+Up will do it on Mac laptops. I assume Ctrl+Alt+Shift+PgUp shold work elsewhere.

  2. Franz is an Electron app. All chat windows are WebView elements and you can't inspect them. Select a webview element for Gitter (not the shadow DOM root inside it). Then open a console and type $0.openDevTools(). This is an Electron API.

  3. To turn on Gitter Next paste document.cookie='gitter_staging=staged;domain=.gitter.im;path=/;expires=' + new Date(Date.now() + 31536000000).toUTCString() into the console of the new DevTools window. This one-liner is from Gitter Support article.

  4. You may need to restart Franz after that. Enjoy!

@drorata
Copy link

drorata commented Sep 19, 2017

I have the same problem, but I don't understand how to use the solution you suggested...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment