Google Blogoscoped

Forum

Delete All Gmail Spam  (View post)

Brinke Guthrie [PersonRank 10]

Sunday, July 2, 2006
13 years ago8,006 views

26,411???? you just leave em in there or what? i see one in there and ZAP it's gone.

Philipp Lenssen [PersonRank 10]

13 years ago #

Well, Gmail automatically removes everything older than 1 month, so those are the ones from June. It's takes too much time to always delete them.

Bob Jones [PersonRank 2]

13 years ago #

I used to rely on BlueFrog to do that, but it shut down.

Nice feature – can't understand why it is being 'rolled out' though.

Mrrix32 [PersonRank 10]

13 years ago #

<<can't understand why it is being 'rolled out' though.>>

All the Gmail Updates seem to be now.
It'll be very useful though

Corsin Camichel [PersonRank 10]

13 years ago #

whats the javascript code for that? Garett? We need a greasemonkey plugin ;)

Amit Agarwal [PersonRank 3]

13 years ago #

I wish there was something similar for the Trash label as well.

Ionut Alex. Chitu [PersonRank 10]

13 years ago #

Actually, for the trash is a similar link.

Q-Venom [PersonRank 1]

13 years ago #

Umm... till now I had been doing a Select All and Delete Forever... I dont get that lot spams a day really...

Ramibotros [PersonRank 10]

13 years ago #

I set a filter to send all emails labeled as spam to trash automatically.
A little risky, though, if gmail filters smth real.

John [PersonRank 0]

13 years ago #

"I had been doing a Select All and Delete Forever".. Agreed! A button wouldn't speed this up any, would it? 2 clicks & you're done, surely?

Ionut Alex. Chitu [PersonRank 10]

13 years ago #

It would if you had 1000 spam mails.

Rigel Arndt [PersonRank 1]

13 years ago #

For me personally I've been seriosly considering setting up a java-script filter that checks items in the spam filter against a given set of contacts. If no matchse are found, the filter simply tells me that the spam checks "OK"... An interesting idea... Just not that good with javascript yet, and java wouldn't work.

Randhir Reddy [PersonRank 1]

13 years ago #

A great feature, i'm sure most of the Gmail users have been looking for this.

Philipp Lenssen [PersonRank 10]

13 years ago #

> Select All and Delete Forever

That will only remove 50 mails a time...

Garett Rogers [PersonRank 10]

13 years ago #

Here's the javascript responsible for this feature:

d=(g?u("Delete all spam messages now","dal",true):"")+" (messages that have ...

basically it's saying...
"the final text to display (d) = (if g is true, create the Delete All Spam link, else do nothing) and append " (messages that have ..."

unfortunately, earlier in that function... for everyone here except Ionut, there is something that says .... "g=false" basically turning off this feature by hardcoding this value.

Ionut Alex. Chitu [PersonRank 10]

13 years ago #

I tried to make this work, but there's something about the code (which is actually quite unreadable).

There is a <div class="thm"...> that includes "(messages that have been in Spam more than 30 days will be automatically deleted)". In my code, this div has a child <span class="lk" id="dal">Delete all spam messages now</span> .

The problem is I injected the JS to create the span, but when I click on the text, the message box asks if I want to delete all, i say yes, but then tells me nothing was selected.

Caleb E [PersonRank 10]

13 years ago #

The code is un(human)readable because it's put through a compressor which shortens variable names and puts bits of code used more that once into functions a la a normal compression algo.

Ionut Alex. Chitu [PersonRank 10]

13 years ago #

I know it's obfuscated.

John Knight [PersonRank 1]

13 years ago #

I've had this for ages....

Cristian Mezei [PersonRank 5]

13 years ago #

As far as I know only some people got/get this option ... It's a small test.

Art-One [PersonRank 10]

13 years ago #

> > Select All and Delete Forever

> That will only remove 50 mails a time...

I set my number of messages at 100, that makes a difference ;-)

Kyle's Cove [PersonRank 0]

13 years ago #

I was thrilled when I found out they were adding this feature (I submitted the suggestion probably 100 times), but it still hasn't shown up yet on my GMail account.

Hopefully in the next week.

jt [PersonRank 1]

13 years ago #

im lucky...only get 10 spam aday

Joshie Surber [PersonRank 0]

13 years ago #

I've had this for over a month.

Rohit [PersonRank 1]

13 years ago #

somehow its visible only on one of my account (the link to delete all)

This thread is locked as it's old... but you can create a new thread in the forum. 

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!