Forum Moderators: not2easy

Message Too Old, No Replies

Don't use "adbox" as a class or ID

Un Adblocking, Quick tip..

         

SuzyUK

10:54 am on Jul 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



.. if you want them divs seen ;)

discovered "adbox" is on one of the most popular block lists..

there's more some of them more obvious than others but do share any that you come across that could likely catch out an unsuspecting CSS'er!

jameshopkins

3:17 pm on Jul 28, 2009 (gmt 0)

10+ Year Member



.. if you want them divs seen ;)

By who?

rocknbil

4:47 pm on Jul 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



popular block lists

Blocked by what?

If you mean should not be used as they are reserved words, I was going to throw in another one - search has cause me some problems in the past:

<input type="text" name="search" id="search">

^^^ If you have any Javascript interacting with this, it may fail.

SuzyUK

9:49 am on Jul 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>by whom =
by users using said block list, I think Adblock+ uses it to a certain extent, though they may have tweaked it to not be so 'sweeping'. There is a pure CSS version in circulation. "Opera Fanboy CSS Block List" - which while it says to use in conjuction with an .ini file is very easy to plug into browsers as is.

I posted it as Quick Tip because I think there might be people here at WebmasterWorld that would like to make sure their ads are seen by as many as possible and it *might* generate some strange CSS results for the unknowing?

>>reserved words
they're not official reserved words, and there is obviously more on that list, however 'adbox' (in 2 or three different sentence case forms) was one that caught me out earlier this week while testing a innocently enough coded page.

Thanks for the tip on 'search' guess that would be a common one too, and with most using more JS effects it's good to be aware of

I run a custom CSS adblock list on a per site basis and know that anything can be filtered, however I'm not sure I'm in favour of someone else giving me sweeping classes/ID's I'd rather decide for myself. I run the aforementioned lists just to see its impact.