Delete All Gmail Spam (View post)Brinke Guthrie | Sunday, July 2, 2006 18 years ago • 9,163 views |
26,411???? you just leave em in there or what? i see one in there and ZAP it's gone. |
Philipp Lenssen | 18 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 | 18 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 | 18 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 | 18 years ago # |
whats the javascript code for that? Garett? We need a greasemonkey plugin ;) |
Amit Agarwal | 18 years ago # |
I wish there was something similar for the Trash label as well. |
Ionut Alex. Chitu | 18 years ago # |
Actually, for the trash is a similar link. |
Q-Venom | 18 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 | 18 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 | 18 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 | 18 years ago # |
It would if you had 1000 spam mails. |
Rigel Arndt | 18 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 | 18 years ago # |
A great feature, i'm sure most of the Gmail users have been looking for this. |
Philipp Lenssen | 18 years ago # |
> Select All and Delete Forever
That will only remove 50 mails a time... |
Garett Rogers | 18 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 | 18 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 | 18 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 | 18 years ago # |
I know it's obfuscated. |
John Knight | 18 years ago # |
I've had this for ages.... |
Cristian Mezei | 18 years ago # |
As far as I know only some people got/get this option ... It's a small test. |
Art-One | 18 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 | 18 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 | 18 years ago # |
im lucky...only get 10 spam aday |
Joshie Surber | 18 years ago # |
I've had this for over a month. |
Rohit | 18 years ago # |
somehow its visible only on one of my account (the link to delete all) |