Jump to content

Getting rid of popups in Mozilla


MoonChild
 Share

Recommended Posts

The easy solution is for browsers to go ahead and request those images, go ahead and request the source for the popup pages, as if the broswer was going to display everything, but just don't display it.

 

this is my current solution. for mozilla, stick the following into your /chrome/userContent.css file -- it makes most ads 90% transparent, and doesn't show flash ads at all.

 

it's everyone's right not to be subjected to advertising.

 

matt

 

/* makes ads almost invisible

* - taken from http://archivist.incutio.com/css-discuss/?id=13557

*/

 

[src*=ads.], [src*=ads/],

[src*=doubleclick],

[href*=doubleclick.] *,

[href*=rd.yahoo.com] [src*=yimg.com],

[width=60][height=468],

[width=468][height=60],

[width=120][height=600]

{

       -moz-outline: medium dotted red;

       -moz-opacity: 10%;

}

 

/* i find this a bit much, but someone might like it.

 

[src*=ads.]:hover, [src*=ads/]:hover,

[src*=doubleclick]:hover,

[href*=.doubleclick.] *:hover,

[href*=rd.yahoo.com] [src*=yimg.com]:hover,

[width=60][height=468]:hover,

[width=468][height=60]:hover,

[width=120][height=600]:hover

{

       -moz-outline: medium dashed red;

       -moz-opacity: 100%;

}

*/

 

[type=application/x-shockwave-flash]

{

       display: none !important;

}

Quoted from slashdot comment by d_i_r_t_y (mattATproteomesystemsDOTcom) on Sunday November 24, @08:23PM (#4747370)

 

Also:

/* this hides the not so usual but very annoying 728x90 Flash banner ads */

embed[type=application/x-shockwave-flash][width= "728"][height=90] {

   display: none !important;

   visibility: hidden !important;

}

by No_Weak_Heart on Monday November 25, @12:11AM (#4748761) (also Slashdot comment)

Link to comment
Share on other sites

cheers for that, mozilla is already doing a good job by simply letting you uncheck the "open unrequested windows" option in preferences. You forget it's doing anything untill you use a friends computer with IE and experience popup hell again!

 

I will have to try it out your suggestion looks good :)

Link to comment
Share on other sites

That works great

 

the ads are still there but they are hardly noticable.

Makes it so much easier to read what you want to read, especially on those articles where they put ads in between paragraphs.

 

cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...