sandbox - Opening a link inside iframe inside the iframe and preventing it from exiting the page -


i have iframe tag loads outside url onto page. have found out of urls somehow redirect whole page own. after reading discussion here used sandbox this:

<iframe url='$outsideurl' sandbox=''></iframe> 

the sandbox tag solved problem redirecting page disabled clicking links inside outside urls. again reading discussions here changed iframe this:

<iframe url='$outsideurl' sandbox="allow-popups"></iframe> 

now problem redirecting solved , can click on link inside when click on link inside iframe jumps out of page , goes link. there way upon clicking link opens inside iframe?

it's ok if answer "no", @ least realize not search anyfurther.


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -