📅  最后修改于: 2022-03-11 15:02:05             🧑  作者: Mango
// remove elements by class name
var elements = document.getElementsByClassName('some-class')
for (var element of elements) {
element.remove()
}