AJAX Forums

Hiding things with css [kinda complicated, involves injecting javascript]?

This is a discussion on Hiding things with css [kinda complicated, involves injecting javascript]? within the XHTML and CSS forums, part of the Beginners AJAX category; Ok so i'm using an addon called Grease Monkey for firefox its bomb i hide ads with it so here's my code: // ==UserScript== // @name Bulletin iframe remover/ad ...


Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 10-29-2007, 10:58 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2007
Posts: 1
Rep Power: 0 Eric C is on a distinguished road
Hiding things with css [kinda complicated, involves injecting javascript]?

Ok
so i'm using an addon called Grease Monkey for firefox
its bomb i hide ads with it
so
here's my code:
// ==UserScript==
// @name Bulletin iframe remover/ad remover
// @namespace iframe remover
// @description Can remove SONGS in bulletins, pay attention!
// @include http://bulletins.myspace.com/*
// ==/UserScript==

//hiding iframes:

GM_addStyle('iframe, embed, #iframe, #embed, .embed, .iframe { display: none; visibility: none; }'
+'mini .embed, .mini .embed, #mini .embed, .mini .embed, { display: inline; visibility: visible; }');


//Above encompasses one part of keeping minis only, this removes else

GM_addStyle('embed, .embed, #embed, object, .object, #object { display: none; visibility: none;');

END
I need to remove ALL embeds on a page, so only myspace music players will help

please explain
. # and nothing, such as
.embed, #embed, and embed
in css
and define what they do

thank you!
lol 29 characters left
__________________
Eric C is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX Jobs : Complicated website development with scipt creation,php,java,mysql, and f admin AJAX Freelance Jobs 0 08-05-2008 07:58 PM
Hiding/Showing form elements jamfitz001 AJAX Questions 0 06-20-2008 12:50 PM
Things Everyone Needs to Know about Ajax microbee AJAX Help 0 01-15-2008 07:51 AM
How do I get things to apear on the same line with HTML? brewer37 XHTML and CSS 2 06-22-2007 04:04 AM


All times are GMT -4. The time now is 07:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com