Adblock Plus: Element Hiding Helper

Subscribe to Adblock Plus: Element Hiding Helper 11 posts, 6 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
 
ekbworldwide Scriptwright

Use the Dom inspector.

1
Use "Find a node..." it'll put a red box around the tag. It's not as easy to use as Helper. If the tag is a link and you click on it - it'll go to the link. So chose something next to what you want or the tag that it's in and then home in on it.

2
example at chipmark.com/Main

= this
Do you browse using more than one computer or browser?
Do you have trouble keeping track of bookmarks?
Chipmark is for you!

= is this

#mainbox_mm > TABLE:first-child + HR + TABLE > TBODY > TR > TD:first-child > TABLE > TBODY > TR > TD:first-child > P:first-child + P

I use Stylish for what the Helper can't block

#mainbox_mm > TABLE:first-child + HR + TABLE > TBODY > TR > TD:first-child > TABLE > TBODY > TR > TD:first-child > P:first-child + P { display:none !important}

If I want to put the Stylish code into greasemonkey - I use
GM_addStyle

 
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.
 
ekbworldwide Scriptwright

simon! try here
userstyles.org - All Discussions
http://userstyles.org/forum/

 
crash (chipm... Scriptwright

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