hive-keychain / hive-keychain-extension

A wallet browser extension for the Hive blockchain and cryptocurrency
MIT License
76 stars 51 forks source link

Move keychanify check to stop unnecessary changes #367

Closed kulkalkul closed 1 year ago

kulkalkul commented 1 year ago

Keychanify invades all the webpages visited with keychanify_checked class, even though disabled in config. This is a quick fix that prevents MutationObserver from doing unnecessary work if keychanify is disabled.

This would still break pages with SSR when keychanify is enabled. So, eventually a better way of tagging elements is a must in my opinion.