jquery - Restrict IFRAME to change parent URL -


This question is wandering around the internet but there is no clear suggestion. I am posting this question to get a clear and straightforward answer.

I have the website in the website. I have the IFRAME IFRAME loads with a URL IFRAME URL / page contains a Java script which checks the following:

  Browser = Mobile Browser then Top Location = Self Location  

-> This change URL URL to the IFRAME URL.

Is there a way to stop changing URLs?

PS: The IFRAM URL is in a different domain.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -