+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Email Link with Gmail

  1. #1
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  2. #2
    Join Date
    Sep 2008
    Location
    Washington State
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Email Link with Gmail

    Nice. I'll have to try this later.

  3. #3
    Join Date
    Sep 2008
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Email Link with Gmail

    Hey, this works great! Thank you!

  4. #4
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Email Link with Gmail

    Excellent! Been looking for that for the past week. Thanks a lot!

  5. #5
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  6. #6
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  7. #7
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  8. #8
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Email Link with Gmail

    Yes! It works! Good job!

  9. #9
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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);

  10. #10
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO 3.6.0