Adblock Plus: Element Hiding Helper

in Script development
Subscribe to Adblock Plus: Element Hiding Helper 9 posts, 5 voices



simon! Scriptwright

Hi,

How do I implementing Adblock Plus (Element Hiding Helper) rolls like chipmark.com#TD(id=manage_tree) into a user.js script?

Thanks

 
simon! Scriptwright
2nd request: more than 1 roll:
chipmark.com#TD(id=manage_tree)
chipmark.com#TABLE(id=manage_bar_table)
chipmark.com#DIV(id=manage_bar)
chipmark.com#DIV(id=manage_status_bar)
 
znerp Scriptwright

I don't know, but it looks like all this is doing is some simple CSS. If this is the case, then you would likely want to use the Stylish extension with eg.

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("chipmark.com") {
  #manage_tree, #manage_bar_table, #manage_bar, #manage_status_bar { display: none !important; }
}
If I'm wrong on this though, my apologies. Just a guess.

 
grey Scriptwright

0Don't know much about Adblock... only using it ;-)

But have you checked there documentation?

There is some documentation on using adbock in your own firefox extension, might be a start...
http://adblockplus.org/en/faq_internal#interface

How do I access Adblock Plus from my extension?

To allow other extensions to integrate with Adblock Plus the interface nsIAdblockPlus is exported. Check out interface documentation for details.
How does Adblock Plus block addresses?

The hard work here is actually done by Gecko, the engine on top of which Firefox, Thunderbird and other applications are built. It allows something called “content policies”. A content policy is simply a JavaScript (or C++) object that gets called........

 
simon! Scriptwright

Thanks guys

http://userstyles.org/forum/comments.php?Discus...
http://userstyles.org/styles/6819

Does any of you know how to get rid off the white background (more info here)

 
simon! Scriptwright
I can't figure how to block these elements:
chipmark.com#TD(style=width: 200px;)
chipmark.com#TD(class=module_frame_content_mid)
Thank you in advanced Simon
 
simon! Scriptwright

not working for me :(

https://www.chipmark.com/Manage

 
Mikado Scriptwright

simon! wrote:

I can't figure how to block these elements: chipmark.com#TD(style=width: 200px;)
chipmark.com#TD(class=module_frame_content_mid)
Thank you in advanced Simon
@-moz-document domain(chipmark.com) {
   td[style="width: 200px;"], td.module_frame_content_mid { display: none }
}
Please learn CSS (specifically, CSS selectors) and save userscripts.org from stylish-related discussion.
 
crash (chipm... Scriptwright

This is my job :) http://userstyles.org/forum/...ID=1177

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel