1.

Solve : IE vs Mozilla?

Answer»

Hey all!  

IE has an option in Tools, Internet Options, Accessability that allows you to 'Format documents using my style sheet'. Does Mozilla have anything comparable? I can't seem to find it, and I can't convince Mozilla to block ads on www.neopets.com, so I'd like to force it to refer to a custom style sheet before it displays the site.

I realize this is actually not a question about IE, but this seemed to be the most appropriate forum anyhow.  This kind of functionality is generally made availablethrough extensions for Mozilla/Firefox.  Try the >Web Developer< extension.  It should be able to meet your needs.That's kinda cool...but I'm stuck again. I downloaded and installed that addon, but the only option I can find that links to my style sheet is in 'CSS', 'Add user style sheet'. When that is clicked, it works GREAT for that one page, but as soon as I REFRESH, the ads are back and there's obviously no link to my style sheet anymore. How do I hook it up permanently?Sorry - I didn't FULLY take in your problem.  I answered the question, not the problem.

You actually need the >Adblock< or >Adblock Plus<.  The latter has only just been released and I'm afraid I'm not sure of the difference between the two.Alright, I've downloaded and installed Adblock Plus. Unfortunately, what I want to do is described here:

Element hiding: using raw CSS

If even selecting elements by any attribute isn’t enough, you can use the full power of CSS selectors. For example the following rule will hide anything following a div element with class “adheader”: ##div.adheader + *. The two hashes indicate that this element hiding rule is to be interpreted as a CSS selector (this particular one is a adjacent sibling selector).

Note: This functionality is for advanced users only, you should be comfortable with CSS selectors to use it. Adblock Plus won’t be able to check the syntax of the selector you are adding, if you use invalid CSS syntax you might break other (valid) rules you have. Check JavaScript Console for CSS errors.


I am definitely not an advanced user. I have the css that I use in IE, is there any way to post that and get some advice on how to format it according to the above? I'm so close!  Sure.  Just tell us exactly what you'd like to do, and we'll do our best to help.  Coolio!

Okay, here's my CSS:

div.ban,div.bottomban, div#ban,div#bottomban {

display: none !important;

}

This simple style sheet, when linked to IE, completely prevents the top and bottom banner on www.neopets.com from showing up. It removes that space entirely, it doesn't leave a blank box or anything. So, the whole page moves up because the top banner has completely disappeared, know what I mean? Same for the ad on the bottom.

According to what I posted earlier about using raw CSS, I thought I had to add ##div.ban and ##div.bottomban to the elements sections of the Adblock...but that didn't work. So, ideas?  Whereabouts on the site are you seeing those adverts?  I haven't found them yet.  Do you need to log in to see them?  If so, I may have to ASK you to PM me your login details (you could set your password to something different to normal first).  I kind of need to be able to see it for myself.Well, I sent you one of my account name/pw to log into, but even when I'm not logged in, they're displayed for me. Wonder why you don't see them? You're using IE or Firefox?

Anyhow, by blocking individual domains I've now GOTTEN rid of the ads, but the ad space is still there (just blank yellow) at the top of the screen. The CSS gets rid of that in IE, so I'd still prefer to use those elements somehow.Got your PM and will look at this Monday.  I use Firefox most of the time.Okay, I got it to work by adding the following to AdblockPlus's list: #div(ban)
#div(bottomban)You won't see the effects immediately, as you do with other blocked elements.  To see the page with the elements removed, you need to refresh the page.YES! Sweet!  

Thanks Rob!Glad you've got things the way you like them!



Discussion

No Comment Found