Answer the question
In order to leave comments, you need to log in
JavaScript How to remove a tag by its content?
I decided to remove the widget with muzzles (VKontakte) which weighs on almost every site and I can’t find information anywhere on how to remove a tag for its content or remove a tag with certain content (content) I will be glad to advice on this matter.
Here is the code to be removed.
<script type="text/javascript">
document.write('<div><div id="vk_group"></div></div>');
$(function () {
if (document.getElementById("vk_group")) {
VK.Widgets.Group("vk_group", {mode: 0, width: "240"}, 00000000);
}
});
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question