Added features to automatically load all messages in a thread and enable the enableLoadingDraftMessages flag
diff --git a/thread_inject.js b/thread_inject.js
index bfaa0fa..e756640 100644
--- a/thread_inject.js
+++ b/thread_inject.js
@@ -22,5 +22,10 @@
       intersectionObserver = new IntersectionObserver(intersectionCallback, intersectionOptions);
       intersectionObserver.observe(button);
     }
+    var allbutton = document.querySelector(".thread-all-replies__load-all-button");
+    if (items.threadall && button !== null) {
+      intersectionObserver = new IntersectionObserver(intersectionCallback, intersectionOptions);
+      intersectionObserver.observe(allbutton);
+    }
   }
 });