Keep site inside an iframe

This is a project for a person with advanced Javascript knowledge. May lead to much larger project.

I want to open a new site inside the original site from another domain, for instance by using iframe.

Problem: keep new site inside the iframe, even if it tries to break out, for instance by using

if (window != top) {[url removed, login to view] = [url removed, login to view];}

Example: after cursor stops over the link, try to show the document pointed by the link (could be from another domain) inside the floating iframe. If new site tries to break out, it will replace the main document.

Project goal:

- implement method that keeps the new site inside the original site from another domain. New site shouldn't be shown in a separate window.

No changing the content inside iframe, no comunicating with the server of the original site. User should be able to interact with new site: for instance, click on any link inside it to replace displayed content.

- If this isn't doable, your script must at least block loading of such site without showing the dialog box. I can block loading by intercepting onbeforeunload, but it displays the dialog box that requires user click.

Any creative solution, for instance using flash instead of iframe, is acceptable, as long as request for new content is sent directly from the client to the independent 3rd-party domain. Please, don't offer any server-based PHP solutions.

Evner: Javascript

Se mere: top problem, original client, iframe keep inside, keep site inside iframe, onbeforeunload inside iframe, lead box, knowledge solutions, tries, server changing, party block, interact, Inside, inside knowledge, iframe, floating, cursor, creative solutions, break, domain site, show block, site box, site user, larger, cursor javascript, open site inside

Om arbejdsgiveren:
( 11 bedømmelser ) Saratoga, United States

Projekt ID: #88559

7 freelancere byder i gennemsnit $215 på dette job


Can be done.

$300 USD in 5 dage
(3 bedømmelser)

Can start immediately. Please give me a chance. Thanks Uma

$100 USD på 1 dag
(0 bedømmelser)

tell me when to start

$250 USD in 5 dage
(0 bedømmelser)

hi we can do this ,we are even looking for more business with you.

$145 USD in 2 dage
(0 bedømmelser)

I can handle this site very flexible. I am totally comfortable in the web [login to view URL] can give me the project. I will complete in the time of period.

$150 USD in 2 dage
(0 bedømmelser)

Dear Sir, In last 4 months we have developed 14 Dynamic Php projects and 25-30 .NET Projects for Clients in US, UK, Italy, Netherlands, Denmark, [login to view URL] Includes sites like Real Estate, Dating, Content Managem Flere

$298 USD in 28 dage
(0 bedømmelser)

We can complete this Project Successfully as per Your requirements.

$260 USD in 15 dage
(0 bedømmelser)