I was also annoyed by this issue and couldn't find a solution, so I
wrote a userscript as you suggested.  Below is the source, hope it
works for you:

// ==UserScript==
// @name        FluidGmailComposeFixer
// @namespace   http://fluidapp.com
// @description Fixes Fluid's gmail compose link
// @include     https://mail.google.com/mail/*
// @author      Henry Bridge
// ==/UserScript==

(function () {
    if (window.fluid) {
        var currentLocation = window.location.href;
        if (currentLocation.indexOf("fs=1") != -1
            && currentLocation.indexOf("&tf=1") == -1){
                window.location = window.location + "&tf=1";
        }
    }
})();

you'll need to change the @include line if you're not forcing https or
if you're using apps for your domain.

enjoy!

Henry

On Sep 11, 8:33 pm, Matthew Farrow <[email protected]> wrote:
> Hi, all - new to Fluid but I love the idea.  I am currently trying to
> use aGmailFluid.app as my default mail client in 10.6.1, and
> _almost_ everything works.  The big problem I'm having at this point
> is mailto: links.
>
> Here's the scenario:  I have myGmailFluid.app open (in the dock,
> behavior is set to maintain last window on close to preserve web
> content,) and I click on a mailto: link in Firefox.  If I have Firefox
> set to useGmail(the default FirefoxGmailsetting changes mailto:
> links tohttps://mail.google.com/mail/?extsrc=mailto&url=%s) then it
> works fine, but it opens up aGmailtab in my browser.  If I set
> Firefox's default mail toGmail.app (Fluid SSB,) then it opens the SSB
> up with the mailto: link directly.  The SSB window shows the loading
> screen forGmailbut never gets to the compose window.
>
> The URL thatGmail.app is trying to load is:
>
> http://mail.google.com/mail?view=cm&fs=1&[email protected] - not
> working.
>
> If I let Firefox load upGmailin a new tab, the URL loaded is:
>
> https://mail.google.com/mail/?view=cm&fs=1&tf=1&source=mailto&to=prob...
> - works fine.
>
> I'm not a programmer, and I'm utterly lost on user scripts.  Can I
> just use a script to change the URL's from the first case to the
> second?  If so, I'll need help writing the script.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"fluidapp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluidapp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to