Need code to iframe framebreaking website

Hey Guys,

I have a 3rd party website (no access to it) that has a framebreaker on it in the form of "if (top != self) { [url removed, login to view]([url removed, login to view]); }" in the header.

I need to put that site into an iframe but it will still have to count as a pageview to the site.

the rest of the site is called via javascript, so simply disabling js is no solution.

Also the framed site must not be able to see that it has been put in an iframe.

There is a GA code in the header.

To the framed site it should look like this:

-user is on Site a (the site with the iframe)

-user clicks on a link to Site B (framed site) and gets redirected there, no iframe, no nothing.

If this is (only) possible to be achieved via some other coding way, I'm happy with that aswell.

I only want to get this done, how exactly, doesnt matter, it simply has to work.

I tried to copy the sourcecode I see without the line above, save it and load it in my browser. Everything looks normal, but due to the GA code in the header I am afraid they will be able to see that the pageview was on [url removed, login to view] instead of [url removed, login to view]

I'll give you the link to the site if you are the chosen programmer and want to have that link.


Kemahiran: Javascript, PHP, Kejuruteraan Perisian

Lihat lagi: top programmer website, js coding, javascript self, how to get coding, how code, get location javascript, code top, code line, code get, code 30, iframe website code php, get code, iframe, copy code, javascript coding website, disabling, javascript form copy, need access programmer, sourcecode, location code, need clicks link, copy website form, copy form website website, programmer need form, javascript form save

Tentang Majikan:
( 1 ulasan ) Röthenbach, Germany

ID Projek: #1597746