I am working in rails and I am facing a problem, I have a page where I am using iFrame to open a another page in iFrame. Its working fine, but I want which page am opening in iFrame it should not be open in browser. As when I copied the link and open in another tab it opens I want to prevent that page and want that page opens in iFrame only.
Is there any way to prevent this ? in any language either rails or javascript.
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…