mailto: link not working from a particular website but works from others
the mailto: links on my website are not working in firefox v26.0 but other sites mailto links work perfectly well and open gmail has i would expect them to. i know the links on my site are working has i have tested them in chrome and work has expected so the issue is purely within firefox.
Can anyone give me any clues
Усі відповіді (14)
Can you post a link to a publicly accessible page that doesn't require authentication (signing on) or post the code that you used?
Do you see the mailto link in the usual pop-up at the bottom of the Firefox window if you hover this link?
You can also check the page source for tags marked with red code, hovering such a tag shows a tooltip.
This is the page in question http://www.ww2group.co.uk/ContactUs.htm
Yes i can see the mailto link in the bottom left corner
I have just tried the links again by loading the above page directly and the links work fine but not if i go to the site and then load the page, if you get my meaning.
not sure what you mean by you last part of your answer
Oh wait, so you're saying that the Gmail new message will not work in the frame but it will work when it has the full tab to itself, either in the same or in a new tab? You might need to add target="_blank" or target="_top" in that case.
Does it make a difference if you use a link with the www.prefix or without it?
I notice that the mailto links do not have the www. prefix: webmaster@ww2group.co.uk
Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
- Hold down the Shift key and left-click the Reload button
- Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
- Press "Command + Shift + R" (Mac)
You can try to "Clear the Cache":
- Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
Yes, I see this in the browser console after clicking the mailto link within the frame:
Load denied by X-Frame-Options: https://mail.google.com/mail/?view=cm&fs=1&tf=1&source=mailto&to=enquiries@ww2group.co.uk does not permit cross-origin framing.
It's curious that Google's own browser does not honor that instruction. Or are they only sending it to Firefox? Hmm...
Cor-el
it makes no difference if i use the link with or without the www. prefix if the page is called directly it does load a newly composed page within gmail
I have done has you have suggested and reloaded the page and cleared cache but it still will not work.
jscher2000 :
the links within the frame do have the target set has _top at the moment but i have tried others.
just to add if i try the links from frame i just get a blank page within the frame.
If the server sends an X-Frame-Options header then there is no way to open the link in a frame or iframe.
Hi badgerb1862, with target="_top" they are working for me.
If they are not working for you yet, try clearing your cache to ensure that you are seeing the latest pages.
Use Ctrl+Shift+r to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
orange Firefox button (or Tools menu) > Options > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
Hi cor-el, for testing, I'm going to the top level frameset then clicking the Contact Us link in the left frame.
With target="_top" the Gmail page now replaces the frameset, working around the frame options header.
Hi jscher2000
I have cleared my cache has suggested also cleared my complete browsing history etc and reloaded the page using Ctrl+Shift+r
but i still can't get the links to work for me.
is there anything else i can try or change if its working for you then it must be a setting within my firefox browser just completely confused now
Hello,
I have a hunch try starting firefox in safe mode could be some addon blocking the link, because I tested it here and it worked normally:
Hi badgerb1862, you can indeed confirm this using the Inspector feature. Right-click the link and choose Inspect Element (Q) to see whether your Firefox is recognizing the target attribute.
If a link that has target="_top" is staying within the same frame and not busting out of the frameset, then I think it must be something custom on your Firefox that is responsible for that.
Another approach would be to use target="_blank" instead.
hi
This is where things are upto:
Tried everything that has been suggested so far without success, I therefore unistalled firefox and rebooted computer and reinstalled FF and retested the links from the top level frameset then clicking the Contact Us link in the left frame.
The mailto: links when clicked on now open a newly composed message by firstly initiating a new tab within chrome its self (mailto: set to use google chrome within Options-> Options->Applications). If I set this to be Use Gmail then the problem i was having returns.
Does anyone have any suggestions of why this is.
The target="_top" attribute that was there yesterday is no longer there when I load the page. So naturally you are back to the original problem.