Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var allStars = document.querySelectorAll('.svgIcon--star')
- allStars.forEach(star => {
- //Articles in the body
- var articleContainer = star.closest('.extremePostPreview')
- if (articleContainer) {
- articleContainer.remove()
- }
- })
Add Comment
Please, Sign In to add comment