Disable tag, not content?
Disable tag, not content?
Is it possible to block a tag (such as SPAN or DIV), yet still allow the enclosed content to be visible?
Re: Disable tag, not content?
You don't "block" an HTML element, you change its CSS display property.
As result, content is still donwloaded but it is not shown by Firefox.
Maybe you could explain what you want to achieve and provide an example...
As result, content is still donwloaded but it is not shown by Firefox.
Maybe you could explain what you want to achieve and provide an example...
Re: Disable tag, not content?
Sorry for late reply.
I do mean to somehow prevent an element from having an effect on its enclosed content, without hiding the content outright.
If you've seen those text-based ads that turn certain words into mini advertisements, you know what I mean. I'm looking for a way to disable the tags around the keyword, while keeping the keyword visible as harmless text. This is a site I have whitelisted, which is allowing the unwanted text-targeting scripts to run.
I do mean to somehow prevent an element from having an effect on its enclosed content, without hiding the content outright.
If you've seen those text-based ads that turn certain words into mini advertisements, you know what I mean. I'm looking for a way to disable the tags around the keyword, while keeping the keyword visible as harmless text. This is a site I have whitelisted, which is allowing the unwanted text-targeting scripts to run.
Re: Disable tag, not content?
Maybe you need to modify your whitelist so that the offensive content is not expressly allowed.
________________________________
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
Re: Disable tag, not content?
Your best option is to selectively whitelist the adverts that you want to see on the domain and leave the scripts for generating text links blocked. If you would provide the address of the page in question we will be able to suggest filters for you that should provide the proposed configuration.
Re: Disable tag, not content?
For me the words "if I were you" were in blue but hovering over did not pop up anything (most likely blocked by||adserver.yahoo.com^).
When I also added:
The writing appeared as normal text.
When I also added:
Code: Select all
||yahoo.com/contextual-shortcuts
________________________________
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
ABP Subscriptions
ABP Development Builds
Submit an issue report with Adblock Plus
Re: Disable tag, not content?
Added to EasyList (https://hg.adblockplus.org/easylist/rev/0857d29d26e8)
Code: Select all
||yahoo.com/contextual-shortcuts