I have the below code to find elements with their class name:
// Get the element by their class name var cur_columns = document.getElementsByClassName(\'colu
One line
document.querySelectorAll(".remove").forEach(el => el.remove());
For example you can do in this page to remove userinfo
document.querySelectorAll(".user-info").forEach(el => el.remove());