// Google Inbox custom events
// trigger window resize to remove placeholder

export default {
  url: new RegExp('https://inbox\.google\.com.*', 'i'),
  // remove placeholder
  bind: function (window) {
    const handleValueSet = () => {
      if (this.getValue()) {
        window.dispatchEvent(new Event('resize'));
      } else {
        this.once('valueSet', handleValueSet);
      }
    };

    this.once('valueSet', handleValueSet);
  }
};

@@ -207,29 +207,24 @@
  const h
-andleValueSet
+ideLabel
  = () =%3E
@@ -236,79 +236,308 @@
     
-if (this.getValue()) %7B%0A        window.dispatchEvent(new Event('resize')
+const label = this.elem.previousSibling;%0A      if (!label %7C%7C !label.tagName %7C%7C label.tagName.toLowerCase() !== 'label') %7B%0A        return;%0A      %7D%0A      label.innerText = '';%0A      label.style.display = 'none';%0A    %7D;%0A%0A    const handleValueSet = () =%3E %7B%0A      if (this.getValue()) %7B%0A        hideLabel(
 );%0A 

Fix inbox placeholder removal.