diff --git a/fediverse/pleroma_cw_toggle.user.js b/fediverse/pleroma_cw_toggle.user.js index e4f4d1b..63bfec0 100644 --- a/fediverse/pleroma_cw_toggle.user.js +++ b/fediverse/pleroma_cw_toggle.user.js @@ -37,6 +37,7 @@ function toggle(parent) } } +// Returns all conversation-headings or profile-tabs. function get_root_elements() { const main = document.getElementsByClassName("main")[0]; @@ -64,6 +65,7 @@ function add_button(parent) parent.append(span); } +// Check if we need to add a button. function check() { const re = new RegExp(