Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm using AdBlock Plus and Element Hiding Helper to show/hide dom element.
But i don't understand how can i show/hide a specific javascript script from page.

For example look this page:

We have different div, class: maintitle. Every div maintitle have a spoiler. If click on - minus picture i can close the container.

spoiler open

Default div maintitle have spoilers opened.
But i want hide some spoilers using a filter. When i open Firefox, i want see hidden this spoilers from Extra Forum and Discussioni Varie

Like this: spoiler close

How Can i Do this using Adblock or Element Hiding Helper or Another Solution?

share|improve this question
You want them closed by default, not hidden. There's a difference. Adblock can hide, not close AFAIK. – Karan Dec 4 '12 at 18:24

What you're trying to accomplish would be a lot easier with Greasemonkey. Greasemonkey allows you to customize the way a web page displays or behaves, by using small bits of JavaScript.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.