Can I remove arbitrary bits of text (or DOM)?
Posted: Sat Jan 24, 2015 8:26 pm
I need to remove a certain bit of text from my mail messages (when they're displayed). It could be all limited to a single line; or it could be separated by line breaks (<br> in HTML mail,0x10 in plaintext mail); or it could be contained in several consecutive block elements but display contiguously (the most complicated case).
It is not clear to me from browsing the ABP website and from looking through the menus of the installed extension whether:
PS - For the sake of simplicity, I'm willing to assume I can remove entire DOM elements rather than have to split them up to only remove the annoying text. I might even live with the ability of only removing block-level elements, although that's kind of borderline for me.
It is not clear to me from browsing the ABP website and from looking through the menus of the installed extension whether:
- This capability is already part of ABP, and I just haven't figured out how to configure it properly.
- ABP is close to having this capability, and a modification of the extension could allow it.
- ABP does not have this capability, and changing ABP to include it is a fundamental change, in which case I should probably roll my own extension.
PS - For the sake of simplicity, I'm willing to assume I can remove entire DOM elements rather than have to split them up to only remove the annoying text. I might even live with the ability of only removing block-level elements, although that's kind of borderline for me.