You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
Cohostinator uses a combination of MutationObserver and setInterval waiting to grab elements from the page and apply custom classes so they can be easily modified later. Despite my best efforts this somehow is still not consistent enough to catch all elements we want to tweak. This is usually fixed just by reloading the page and giving the script another chance to catch all of the elements. I think this is down to my inexperience with writing JS that modifies a page while the document is loading, something userscripts have to deal with all the time.
Cohostinator uses a combination of MutationObserver and setInterval waiting to grab elements from the page and apply custom classes so they can be easily modified later. Despite my best efforts this somehow is still not consistent enough to catch all elements we want to tweak. This is usually fixed just by reloading the page and giving the script another chance to catch all of the elements. I think this is down to my inexperience with writing JS that modifies a page while the document is loading, something userscripts have to deal with all the time.