Chrome extensions (Grammarly in our case) cause runtime errors#182
Open
erlandsona wants to merge 2 commits intoelm:masterfrom
Open
Chrome extensions (Grammarly in our case) cause runtime errors#182erlandsona wants to merge 2 commits intoelm:masterfrom
erlandsona wants to merge 2 commits intoelm:masterfrom
Conversation
|
Do we have an idea of what classes of browser extension issues this patch will fix? The idea looks sound to me, just want to find out if this is a full or partial solution to the issue. |
|
The Bitwarden and Lastpass extension have this issue as well |
|
Dark Reader extension can also cause this (you can inspect the DOM to see the element it injects). |
ahankinson
added a commit
to elm-janitor/virtual-dom
that referenced
this pull request
Nov 20, 2025
fixes elm#187 fixes elm#182 fixes elm/html#44 fixes elm/browser#121 fixes elm/browser#66 fixes elm#62 fixes elm#127 fixes elm#147 fixes elm#159 fixes elm#105 fixes elm#162 fixes elm#171 fixes elm#175 fixes elm#178 fixes elm#180 fixes elm#183 fixes elm#189 fixes elm#166 fixes elm/html#160 fixes elm/html#177 fixes elm/compiler#2069
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a re-posting of this fix
These patches fix the issue below.
Here's the expanded stack trace.
More info:
#177 (comment)
Currently we've solved for this by patching virtual-dom with an outdated / seemingly unmaintained shell script call
shelm.Unfortunately,
elm-jsondoesn't like the"locations"key thatshelmdepends on to do it's overriding so every time we install or update packages that"locations"key gets deleted and the developer has to remember to bring it back after an install.This means recently we accidentally re-introduced this Grammarly bug into a production release.
Secondarily, using
shelmmeans that our LSP tooling using~/.elmgets out of sync with whatshelmuses for our local packages sometimes breaking intellisense.Merging this fix means