elm-break-dom icon indicating copy to clipboard operation
elm-break-dom copied to clipboard

StayFocusd

Open tad-lispy opened this issue 5 years ago • 1 comments

This one https://chrome.google.com/webstore/detail/stayfocusd/laankejkbhbdhmipfmgcngdelahlfoji?hl=en breaks Browser.application even with the sed hack. It adds elements to the beginning of the inner and outer body elements.

tad-lispy avatar Sep 15 '20 15:09 tad-lispy

Here is a workaround in CoffeeScript (sorry, I'm in a hurry):

observer = new MutationObserver () =>
    # StayFocusd
    document
    .querySelector '#StayFocusd-infobar'
    ?.remove()

observer.observe document.body,
    childList: true
    subtree: true

tad-lispy avatar Sep 15 '20 16:09 tad-lispy