Getting rid of pesky FREE WEBHOST advertisement banners.

Started by monkey0506, Mon 06/03/2006 14:29:41

Previous topic - Next topic

monkey0506

Okay, so Edmundo posted a shameless plug the other day, and for fear that it would ever be lost, I hosted the page myself.  Only the host I normally use was down for some time...so I looked for another one.

I found one, and it seemed to be okay...until...I viewed the page and to my horror found...A BANNER AD!!!

Scary I know.  But fear not.  My mad CSS skillz protected me as I insanely shoved that stupid advertisement off to the side (to be exact, 1073741824 * (the square root of 2) pixels from the top left corner of the page (1073741824 from the top, 1073741824 from the left)).  I also helped it along by setting most of the banner to not show up at all (width: 0px; height: 0px; ), but some of the tags had specified their height and width and were nonremovable (moveable yes, just not removable).

So...what have you done to get rid of pesky banner ads?

Oh...and BTW, I turned scrolling off (body { overflow: hidden; }).  We wouldn't want people going scrolling off for 1073741824 * (the square root of 2) pixels just to see part of a banner ad now would we? :=

Scummbuddy

Classic. Fight the power! I've only had another website, and that was on freewebs. I dealth with what they gave us, at such a good deal, and eventually got my own space, but its good to hear what others have come up with. Nice job.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

monkey0506

Well I originally had it set to like 2048 from the top and 4096 from the left, or some such, but then I figured some people have insanely huge screens these days and might be able to display 2048 pixels.  So I opened Calculator, typed in 2 * 2, and then pressed enter a few times.  That seemed like a good number to use.

Of course the method I used wouldn't work on a more complex page, and I would probably have to use custom classes of any tags the ad used that I used in my page, but seeing as I really only needed the body tag, I could do away with everything they used (except those pesky cases where they actually specified it (which overrides the CSS)).

Timosity

I tried one trick, not to get rid of the banner but just so it wouldn't show on the page, it was a banner on the top of the page so with some simple html, at the top of each page I put something like this








<a name="point">


and with the buttons to each page i used a link something like this

<a href="about.html#point">


so all it did was when the new page was loaded, it made the banner at the top be above the top of screen, you could still scroll up to the banner but it wouldn't initially be in view and made the page look normal.

I used it with lycos, but some time after that they put ads in a frame down the right side, so I just gave up and used adblock with my browser

SMF spam blocked by CleanTalk