Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
280 views
in Technique[技术] by (71.8m points)

javascript - prevent page from web browser

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...