How can I find out that my page is embedded as a frame to other site during page loading? I guess referrer request header can't help me here? Thanks.
self, if they're not identical, you are in a frame.
Additionally, some modern browsers respect the
X-FRAME-OPTIONS header, that can have two values:
Users include Google's Picasa, that cannot be embedded in a frame.
Browsers that support the header, with the minimum version: