Skip to content

Instantly share code, notes, and snippets.

View dducrest's full-sized avatar

David Ducrest dducrest

View GitHub Profile
@dducrest
dducrest / Slack avatar-less sidebar.md
Created November 12, 2020 13:47 — forked from joshuat/Slack avatar-less sidebar.md
Remove the avatars from your slack sidebar
  1. Message yourself /slackdevtools
  2. In the DevTools console:
function addStyle (styleString) {
  const style = document.createElement('style');
  style.textContent = styleString;
  document.head.append(style);
}

addStyle(`
@dducrest
dducrest / hubspotExample.html
Created November 1, 2021 15:44
Demonstration that the Hubspot Chatbot is not obstructing element on the page.
<!DOCTYPE html>
<html lang="">
<head>
</head>
<body>
<div id="app">
<button id="openButton" type="button" onclick="openSupportWindow()" >Open Hubspot Chatbot</button>
<button id="openButton" type="button" onclick="closeSupportWindow()" >Close Hubspot Chatbot</button>
<button id="openButton" type="button" onclick="removeSupportWindow()" >Remove Hubspot Chatbot</button>
<h1>Problem</h1>