Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
iframe parent url
Guilherme Oderdenge
Programming language:
Javascript
2021-06-08 22:45:01
0
Q:
iframe parent url
henreetee
Code:
Javascript
2021-08-10 17:48:24
var url = (window.location != window.parent.location) ? document.referrer : document.location.href;
0
Tags
frame
Related
angularjs iframe src binding
how to access parent function from iframe
iframe reload parent page
js pass variable from iframe to parent window
how to add event listener to iframe
New to Communities?
Join the community