Hide Quip’s sidebar automatically

xcv58
xcv58’s blog
Published in
1 min readOct 27, 2015

--

Since Quip has no choice to turn on/off its sidebar. You have to manually click the hide button. It’s tedious if you don’t want to see the sidebar at all.

Tools need: Chrome, Custom JavaScript for Websites 2

After install Custom JavaScript for Websites 2:

  1. Open any quip page
  2. Paste codes below:
customjsReady(‘.icon-hide-conversation’, function(element) {
element.click();
});

You are all set and enjoy!

BTW: don’t forget select the button “enable cjs for this host”!

Below is out of date!

After install Custom JavaScript for Websites 2:

  1. Open any quip page
  2. Open extension, select jQuery 2.1.0
  3. Paste codes below:
$(document).ready(function() {
$(“.icon-hide-conversation”).click();
});

Then it’s all set.

But the downside is if you navigate to another document, this doesn’t work. Because Quip use WebSocket to load the data. So navigate wouldn’t trigger the document ready callback.

You have two choices:

  1. Refresh page manually
  2. Wait, I’m trying to figure out how to get right callback function when new document load completed

--

--