E-mail a Link=Link in subject line
When I click on File>Email Link the Link winds up as the subject line of a Yahoo e-mail. The subject should be "Link" and the link would go in the message text. So is this an FF problem or a Yahoo problem?
All Replies (2)
This is most likely an issue with the way that Yahoo is setup to interpret the email links. Could be either a Yahoo or Firefox issue. There is nothing that we can really do on the support forums to solve the issue.
If you want to leave feedback for Firefox developers, you can go to the Firefox Help menu and select Submit Feedback... or use this link. Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.
What, they broke it again?! This seems to happen every year now that Yahoo changes something and no longer interprets what Firefox is sending in the intended manner.
As a workaround, it is possible to extract the information from the messed up To address and populate it into the message using a little bit of script after the fact. You can test it out by opening the Web Console below the message (either Ctrl+Shift+k or the Developer menu) and then pasting this chunk of code in the bottom bar and pressing Enter to run it:
var toadd=document.querySelector("#to span");
var data=decodeURIComponent(toadd.getAttribute("data-address"));
var subjtext=data.substr(data.indexOf("&subject=")+9);
document.getElementById("subject-field").value=subjtext;
var bodytext=data.substr(0, data.indexOf("&subject=")).substr(data.indexOf("=")+1);
var newp=document.createElement("p");
var msgbod=document.getElementById("rtetext");
newp.innerHTML='<a href="'+bodytext+'">'+bodytext+'</a>';
msgbod.insertBefore(newp, msgbod.firstElementChild);
toadd.remove();
Not very convenient if you use this feature often, so you also could save the code as a "bookmarklet" -- a snippet of JavaScript code saved as a bookmark -- and then click the bookmark to fix the message when needed. To install the bookmarklet, you can use this page: