Add Quick Links - GMail

By cgm Last update Apr 13, 2006 — Installed 5,133 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 8 posts, 7 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Bernardo Qua... User

I figured what was wrong.

Here are the changes I made:

- var La = responseDetails.responseText.match(/bkmk_href[^ >]+>([^<]*)/g);
+ var La = responseDetails.responseText.match(/bkmk_href[^>]+>([^<]*)/g);
//there's a new attribute 'target=nw' now

- var label = La[indexc].replace(/bkmk_href[^ >]+>/,'');
+ var label = La[indexc].replace(/bkmk_href[^>]+>/,'');

- var url = Ua[indexc] .replace('.', 'http://google.com/bookmarks','');
+ var url = Ua[indexc].replace(/\.[^=]+=/,'')
// erases prefix
+ url = url.replace(/&.+/,'')
// erases suffix

Hope it helps someone else that may have bumped into that,

--
Bernardo

 
Bernardo Qua... User

Doesn't work for me either.

Could it be because my GMail interface isn't in english?

I think it could be because:

var La = responseDetails.responseText.match(/bkmk_href[^ >]+>([^<]*)/g);

Is returning NULL...

Any tips?

--
Bernardo

 
epikarma User

When I press 'new window' in a mail, the new external window should't have to show the quick links tab.
In fact I can see it in the right top corner.

 
Corey User

I love this script. Just a note: If you'd like to define the quicklinks to something other than GMqLink label, you can just find all instances of it in the jScript file an replace it with the desired label.

Like, for me, I wanted to have my homepage bookmarks sync with my Gmail bookmarks, so since the Homepage bookmarks are added with the 'homepage' label, I simply replaced 'GMqLink' with 'homepage'. Works like a charm!

I think that, if someone modified this script a little, the same results could be reduced on different pages, such as Google Earth, Documents, Calandar, and the like. Its just a thought! :D

 
Balachandar User

doesn't work for me..!!

 
cgm Script's Author

fixed an issue with navigating to the bookmark page and back. Thanks

 
Michael Sarver Scriptwright

Very nice script. Should come in handy! Thanks.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel