how do i div block style elements?

Everything about using Adblock Plus on Internet Explorer
Post Reply
MonilGomes
Posts: 1
Joined: Tue Nov 05, 2019 10:20 am

how do i div block style elements?

Post by MonilGomes »

I can just select the element with the extension but it only grabs the canvas and not the style. The canvas is self modulating / gets replaced meaning it just opens a new ad after a while, or after a refresh. However on this particular site most of the style from the start is the same only the end changes, meaning you can just block the style with "style*" and enter the start of the style in order to block it.

site.com##div[style*="display: block; position: fixed; z-index: 2147483647;"] should block every style starting with "display: block; position: fixed; z-index: 2147483647;". however nothing happens.

Im on a quest trying to block those pesky self evolving advertisements that are baked into sites. Some (all? unless the script handles more then one thing) are running with scripts that can be blocked, however iv not found a extension that allows block per content, they just lump every type by url.
sbell
ABP Technical Support Specialist
Posts: 522
Joined: Wed Jul 05, 2017 8:08 pm

Re: how do i div block style elements?

Post by sbell »

Hi there!

Try posting your question here https://forums.lanik.us. ABP is not the owner of this site but these are the Authors of Easy List. Filter specific questions are best answered there. I hope this helps!

Thanks
Shannon
ABP Support Team
Thounater
Posts: 65
Joined: Wed Jun 26, 2024 7:50 pm

Re: how do i div block style elements?

Post by Thounater »

To style elements within a div block, use CSS by targeting the div with a class or ID selector. You can adjust properties like padding, margin, background, and font to customize the layout. For visual design tips and layout ideas 104fashionmag.com often showcases how fashion sites use clean, styled blocks effectively
Post Reply