This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a requirement of attaching two links to the same link of the web page.
There is a web site which provides a service to convert multiple links to 1 link --> http://1link.in/ but I sure this is not what you are looking for. You might still want to have a look to see if you could use something similar.
Whenever JS doesn't work in FF, it simply means that the JS code is bad or is IE-proprietary --which is also a bad idea.