Google Chrome Forum  

Go Back   Google Chrome Forum > Google Chrome Discussion > Google Chrome Tips & Tricks

Google Chrome Tips & Tricks Quick little ways of getting the most out of Google Chrome. This is not a plugin area. If you want a plugin look in the plugin area.

Welcome to the Google Chrome Forum.
You are viewing this thread as a Guest. Please register and logon to view all messages in this thread! Registration takes only seconds and is totally free.

Register

Reply
 
Thread Tools
  #1  
Old 09-12-2008
ace214 ace214 is offline
 
Join Date: Sep 2008
Posts: 3
ace214
Default Email Link with Gmail

Someone has posted a bookmarklet to email links with your default mail program, but for those who use Gmail as webmail, this will work.

Make a new bookmark and make the name Email with Gmail or whatever you want, and the URL
Code:
javascript:document.location='https://mail.google.com/mail/?ui=1&v...ment.location;
If you want a pop-up bookmarklet, use the following URL
Code:
javascript:window.open('https://mail.google.com/mail/?ui=1&v...ument.location);return false;
That currently opens a new tab. I'm working on getting the pop-out effect that Gmail has.
Unfortunately, middle-clicking the first one does not work, because when it opens it in a new tab, it is reading the URL and title from that new tab instead of the original one you wanted to to link to. I may work on a solution to this in the future.

Oddly this makes the text box in Gmail not the width of the screen. I'm not sure why that is, but it works just fine- just looks a little funny. If anyone can offer any wisdom to this, I would appreciate it.
Reply With Quote
  #2  
Old 09-12-2008
Charlie's Avatar
Charlie Charlie is offline
Chrome Spot Admin
 
Join Date: Sep 2008
Location: Washington State
Posts: 1,181
Charlie will become famous soon enoughCharlie will become famous soon enough
Default Re: Email Link with Gmail

Nice. I'll have to try this later.
__________________
Visit DVD neXt COPY Support Forum for all your DVD Backup Needs.
Reply With Quote
  #3  
Old 09-12-2008
chico's Avatar
chico chico is offline
Junior Chrome Member
 
Join Date: Sep 2008
Posts: 71
chico
Default Re: Email Link with Gmail

Hey, this works great! Thank you! ;D
Reply With Quote
  #4  
Old 09-13-2008
bittercrash bittercrash is offline
 
Join Date: Sep 2008
Location: Belgium
Posts: 13
bittercrash
Default Re: Email Link with Gmail

Excellent! Been looking for that for the past week. Thanks a lot!
Reply With Quote
  #5  
Old 09-13-2008
bittercrash bittercrash is offline
 
Join Date: Sep 2008
Location: Belgium
Posts: 13
bittercrash
Default Re: Email Link with Gmail

The bookmarklet gives me an error (Bad Request - Error 400) or only opens Gmail inbox in a new tab. Only on this site (Chromespot) it actually works. How very odd ???
Reply With Quote
  #6  
Old 09-13-2008
kimsue kimsue is offline
 
Join Date: Sep 2008
Posts: 8
kimsue
Default Re: Email Link with Gmail

Quote:
Originally Posted by bittercrash
The bookmarklet gives me an error (Bad Request - Error 400) or only opens Gmail inbox in a new tab. Only on this site (Chromespot) it actually works. How very odd ???
Same here.
Reply With Quote
  #7  
Old 09-13-2008
kimsue kimsue is offline
 
Join Date: Sep 2008
Posts: 8
kimsue
Default Re: Email Link with Gmail


Try this



Code:
javascript:document.location='https://mail.google.com/mail/?view=cm&fs=1&to= &=1&su='+document.title+'&body='+document.location;

new tab
Code:
javascript:window.open('https://mail.google.com/mail/?view=cm&fs=1&to= &=1&su='+document.title+'&body='+document.location);return false;
I hope this works. I actually don't have a clue as to what I'm doing.
Reply With Quote
  #8  
Old 09-14-2008
bittercrash bittercrash is offline
 
Join Date: Sep 2008
Location: Belgium
Posts: 13
bittercrash
Default Re: Email Link with Gmail

Yes! It works! Good job!
Reply With Quote
  #9  
Old 09-14-2008
kimsue kimsue is offline
 
Join Date: Sep 2008
Posts: 8
kimsue
Default Re: Email Link with Gmail

Even better: This is gmailthis
Code:
javascript:popw='';Q='';x=document;y=window;if(x.selection) {Q=x.selection.createRange().text;} else if (y.getSelection) {Q=y.getSelection();} else if (x.getSelection) {Q=x.getSelection();}popw = y.open('https://mail.google.com/mail/?view=c...1&to=&su=' + escape(document.title) + '&body=' + escape(Q) + escape('\n') + escape(location.href) + '&zx=RANDOMCRAP&shva=1&disablechatbrowsercheck=1&ui=1','gmailForm','scrollbars=yes,width=680,height=510,top=175,left=75,status=no,resizable=yes');if (!document.all) T = setTimeout('popw.focus()',50);void(0);
Reply With Quote
  #10  
Old 09-15-2008
bittercrash bittercrash is offline
 
Join Date: Sep 2008
Location: Belgium
Posts: 13
bittercrash
Default

This last one opens a popup..... but tells me there's something wrong with my Gmail account (Temporary Error - 502), while I have no problem whatsoever with it.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Copyright ©2000 - 2010 Google Chrome Forum
vBulletin Style by: vbskinpixel.com