Famlam / mailto-chromeextension

A Chrome, Opera and Safari extension that handles mailto: links
Other
41 stars 6 forks source link

gmail not opening in Safari 6.0 #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
E-mail links in Safari are not opening gmail, or any other mail program for 
that matter, when I have this extension installed? I am using a MacBook Air 
with Safari 6.0 and the extension version is 1.23.1 which is set to open gmail. 
Any ideas?

Original issue reported on code.google.com by hamilton...@gmail.com on 30 Jul 2012 at 9:18

GoogleCodeExporter commented 9 years ago
Same issue here. Thinking of uninstalling... :(

Original comment by jobti...@gmail.com on 31 Jul 2012 at 6:24

GoogleCodeExporter commented 9 years ago
Unfortunately, Safari 6 isn't available for Windows yet and I'm using Windows.
Can you please do the following:
1. Enable the "developer menu" in the settings of Safari (probably the last tab)
2. Inspect the page with the mailto link and open the console (right mouse 
button -> inspect -> tab "console")
3. Click the mailto: link that should open in gmail
4. Paste the content of the console here

If nothing is shown there, I'm afraid I can't help you until they release it 
for Windows, as the background should be inspected in that case but therefore 
you'd need a developer certificate...

Original comment by fam....@live.nl on 31 Jul 2012 at 11:16

GoogleCodeExporter commented 9 years ago
Ok, not sure if this is what you're talking about? I turned on the "Show
Develop Menu in Menu bar" and went to a random page that had a "mailto"
link. I right-click and there was an option called "Inspect Element" and I
click that. A developer window opened at the bottom of the screen and it
had code. I found a folder labeled "Extensions" and then under that saw
"mailto" options, of which there were 3 on this page. The code all seemed
the same in them, so here is the code I copied from one of these:

var a=function(h){var
c,f="",g=h.target,d=/^mailto\:(\/\/)?/i;if(h.type==="click"){while(!g.href&&g.pa
rentNode){g=g.parentNode;}f=g.href;}else{if(g.action){f=g.action;if(g.method!=="
post"){f=f.replace(/\?.*$/,"");}for(c=0;c<g.length;c++){var
b=g[c];if(b.name
&&b.value&&!b.disabled&&!((b.type==="checkbox"||b.type==="radio")&&!b.checked)){
f+="&"+encodeURIComponent(
b.name
)+"="+encodeURIComponent(b.value);}}}}if(!f||!d.test(f)){return;}f=f.replace(d,"
");chrome.extension.sendRequest(f,function(e){if(e===-1){location.replace("mailt
o:
"+f);}else{if(e){window.open(e);}}});h.preventDefault();};document.addEventListe
ner("submit",a,false);document.addEventListener("click",a,false);

Does that help? Another strange thing is that the e-mail address in your
message (fam....@live.nl) DOES work to open a gmail compose window when I
clicked that while reading your message? Not sure if that's because I am
already in gmail or what?

Thanks!

Original comment by hamilton...@gmail.com on 31 Jul 2012 at 12:59

GoogleCodeExporter commented 9 years ago
>Another strange thing is that the e-mail address in your
message (fam....@live.nl) DOES work to open a gmail compose window when I
clicked that while reading your message? Not sure if that's because I am
already in gmail or what?
Correct. Gmail handles mailto: links in messages themselves.

>Ok, not sure if this is what you're talking about?[...]
Unfortunately, no. After the step you described as "A developer window opened 
at the bottom of the screen and it had code." you'll have to click the tab 
"console" on top of that "developer window". That's where any relevant messages 
will appear.

Original comment by fam....@live.nl on 31 Jul 2012 at 2:18

GoogleCodeExporter commented 9 years ago
Ok, went to another site with an e-mail link. Went to the "mailto"
folder and selected "Develop" on the Safari menu bar, then "Show Error
Console" and here's what it gave:

4event.layerX and event.layerY are broken and deprecated in WebKit. They
will be removed from the engine in the near future.

Is that what you're looking for?

Original comment by hamilton...@gmail.com on 31 Jul 2012 at 9:01

GoogleCodeExporter commented 9 years ago
Hmmm, it's the correct tab. However, unfortunately that error message isn't 
related to my extension.
That means the error must happen somewhere on the extension background page 
(that is the page that actually converts the mailto url into a gmail (or 
hotmail or ...) url. This page is normally hidden for users, unless they have a 
safari developer certificate.

Can you please
1. (temporarily) install attached extension. If anything pops up immediately 
after installation, please tell me
2. then click any mailto: link. If anything popups up then, please also tell me 
the *exact* message.

Original comment by fam....@live.nl on 31 Jul 2012 at 9:30

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for delay in getting back to you. I do not see how I can manually
install that extension. I go to Safari-Preferences-Extensions. In there, it
shows it is turned "on" and the "mailto" extension is there. If I click
"Get Extensions" that opens a webpage: extensions.apple.com which is where
I originally went to get the "mailto". There are many listed there, but not
sure about this one?

Do you know how I would manually install it?
Thanks!

Original comment by hamilton...@gmail.com on 2 Aug 2012 at 2:32

GoogleCodeExporter commented 9 years ago
If I'm correct, then the following should work:
1. click on the "download" link for the attachment in comment 6
2. Press "open" (in the "save" "open" or "cancel" dialog)
3. Press "install"

Original comment by fam....@live.nl on 2 Aug 2012 at 2:36

GoogleCodeExporter commented 9 years ago
The file name does not bring up a "download" or "save" or "open" or
anything of that nature?

Original comment by hamilton...@gmail.com on 2 Aug 2012 at 7:23

GoogleCodeExporter commented 9 years ago
So what I do in this movie (on the latest Windows version) doesn't work?
http://www.solidfiles.com/d/7e3538793c/
That's weird... in that case they must have changed something in the 
installation progress of extensions...

Original comment by fam....@live.nl on 2 Aug 2012 at 8:02

GoogleCodeExporter commented 9 years ago
that link wants me to install something called "Solid Files"? I'd prefer
not to do that.

Are you positive it was written correctly in the e-mail? The name looks
strange having no extension?

Here's how it is in my e-mail:

        mailto.safariextz  24.2 KB

Original comment by hamilton...@gmail.com on 2 Aug 2012 at 8:14

GoogleCodeExporter commented 9 years ago
The solidfiles URL is just a file host (thus a server where I can upload 
files). I uploaded a zip file which contains a movie about how to install the 
safariextenz file.

Sorry, I didn't realize you responded via Email.
If you view this message directly by opening this URL: 
http://code.google.com/p/mailto-chromeextension/issues/detail?id=19#c6 then you 
should see an download link.

Original comment by fam....@live.nl on 3 Aug 2012 at 5:23

GoogleCodeExporter commented 9 years ago
(If it still occurs with version 1.23.4), can someone please respond to the 
question I'm asking? Thanks!

Original comment by fam....@live.nl on 16 Aug 2012 at 5:25

GoogleCodeExporter commented 9 years ago
Sorry to not get back to you. This still does not work. I tried
uninstalling and then re-installing the new version. If I am in gmail,
reading a message and there is an e-mail address link and I click it, it
DOES work and opens up a new compose e-mail window. But, if I'm on ANY
other page and click an e-mail link, it does nothing.

Thanks!

Original comment by hamilton...@gmail.com on 17 Aug 2012 at 6:12

GoogleCodeExporter commented 9 years ago
I just got an idea of the cause of this due to another issue report (sorry, 
still no Safari 6 for Windows, so I can't check it myself). If you temporary 
disable the popup blocker in the preferences, does that fix the issue?

Original comment by fam....@live.nl on 28 Oct 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Thanks for the responses! This should be fixed in version 1.23.5
Can you please confirm this?

Original comment by fam....@live.nl on 27 Nov 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Yeah! It works!!

Thank you.

Original comment by hamilton...@gmail.com on 27 Nov 2012 at 1:38