message: eyes: put back hotfixes
diff: @@ -59,6 +59,30 @@ sendMessage({ action: 'get_settings' }, (response) => {
  document.head.appendChild(style);
  });
  +fetch('https://raw.githubusercontent.com/eramdam/BetterTweetDeck/master/meta/hotfixes.css').then((res) => {
  + if (res.status >= 200 && res.status < 300) {
  + return res.text();
  + }
  +
  + return Promise.reject(new Error(res.statusText));
  +}).then((text) => {
  + const style = document.createElement('style');
  + style.type = 'text/css';
  + style.textContent = text;
  +
  + Log('apply CSS hotfixes');
  + document.head.appendChild(style);
  +});
  +
  +sendMessage({ action: 'get_local', key: 'custom_css_style' }, (css) => {
  + const styleTag = document.createElement('style');
  +
  + styleTag.id = 'btd-custom-css';
  + styleTag.type = 'text/css';
  + styleTag.appendChild(document.createTextNode(css));
  + document.head.appendChild(styleTag);
  +});
  +
  function saveGif(gifshotObj, name, event, videoEl) {
  return fetch(gifshotObj.image)
  .then(res => res.blob())
  