mefaba/show-geforce-on-steam

MutationObserver error on load

arcataroger opened this issue · 1 comments

I think there's a race condition happening that if the extension loads before the page fully does, the mutation observer can't find the node initially. (It eventually does, so no worries there). But maybe we can have it retry on a timer or do some sort of "on document ready" check... will have to learn how that works in a Chrome extension.

Screenshot from extension manager:

image

mefaba commented

On document ready, on load was tricky to work with as far as I remember but, but lets investigate together.