/* Dynamic Comments... */

Wednesday, May 25, 2005

Gmail Smart-Delete Button Update...

A heads up to all those using Gmail's 'Keyboard shortcuts'.
GSDB now correctly synchronizes with both mouse and keyboard navigation.

[Show Full Post]

Install Gmail Smart-Delete Button


(Thanks to ryanb for the suggestion!)

Tags:
/ / / /
[Hide Full Post]

8 Comments:

Blogger arantius said...

Thank you for adding in a comment to attribute the original author =)

9:23 AM, May 26, 2005  
Blogger Digiital said...

If it me or anyone else having a problem with the DELETE button not active when in a email?

10:22 AM, May 26, 2005  
Blogger Paul M. said...

Ouch! It appears we're experiencing some growing pains....

I've been rearranging some code sections to allow the keyboard shortcuts to be tracked...

Try re-downloading now -- this should fix the problem...

Bye the way inside the script file (near the top) you should find the string: "@Version 0.3.3".

Let me know if there are any other issues.

11:28 AM, May 26, 2005  
Blogger Digiital said...

Perfect!! Works now.

11:50 AM, May 26, 2005  
Blogger Patrick said...

The location of the buton is a bit confusing for me, the new delete button is where the archive button used to be. I already clicked it twice by mistake while wanting to archive emails - damn muscle memory!

So I just placed it after the report spam button where I have less chance of clicking it by mistake.

In case someone wants to do the same, just add at line 102: insert_point=insert_point.nextSibling.nextSibling.nextSibling.nextSibling;

Otherwise thanks for the neat hack.

3:06 AM, May 31, 2005  
Blogger mobile247 said...

i did something similar to patrick. but i did this instead:
changed line 101 to:
if (0==id || 1==id) insert_point=insert_point.nextSibling.nextSibling.nextSibling.nextSibling;
added this after line 101:
if (2==id || 3==id) insert_point=insert_point.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;

this way the delete button is after the report spam button in both the inbox view and the message view. :)

6:17 PM, June 04, 2005  
Blogger mobile247 said...

btw, i mentioned your script in my blog :)

6:18 PM, June 04, 2005  
Blogger Paul M. said...

Hey All!
I incorporated your suggestions and changed the placement of the Smart-Delete Button. (See the latest posting.) I went one step further and put it to the right of the 'more actions' dropdown.

I also made the button text Dark Red when enabled, to be more visible, so I think accidental delete clicks will be a thing of the past.

I took a slightly different approach from your suggestions. Rather than adding several additional 'nextSibling' statements, I located the 'more actions' dropdown specifically and placed the Smart-Delete button right after it with a spacer.

Anyway, let me know what you think. Obviously, none of the code is "written in stone".

PS: Thanks for the mention s.h.a.d.o.w!

7:28 PM, June 05, 2005  

<< Home