I need to ask for a help with a code.
I just need to remove all display:none on the site I am on.
Is there any simple way to do it, please? THANKS
You can run this to find by style attribute and update the display property.
document.querySelectorAll("[style*='display: none']").forEach((elem) => {
elem.style.display = "block"
console.log(elem)
})
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.