Javascript to check parent url from iframe

I need a javascript code that will check if the embed code provided on my website was not changed when used on someone elses website. Embed uses iframe and javascript from iframe must check if parent url contains the embed code as provided.

Example of embed code:

<div style="background:#FFFFFF; font:Arial; color:#000000; font-size:12px; width:468px"><b>ANY TEXT</b> // <a href="" target="_blank" style="color:#0000FF;">TEXT</a> on <a href="" target="_blank" style="color:#0000FF;"></a><iframe name="stream" src ="[url removed, login to view]; width="468px" height="352px" frameborder="0" style="padding:0px; margin:0px;" scrolling="no" ></iframe></div>

idealy javascript would parse the paront url and see if above code was not modified and if it was it should show some other ducument in iframe

Skills: AJAX, Javascript

See more: javascript parent url, javascript check iframe, iframe parent url, javascript iframe parent url, check iframe, check iframe parent url, iframe check parent url, check url iframe, javascript check iframe url, check parent url, iframe check parent, check parent iframe, check url, check iframe url, javascript check parent, javascript check url, check iframe parent, iframe parent, javascript check parent url, php check parent url, iframe check parent domain, check iframe javascript, javascript iframe parent, javascript url iframe parent, php iframe parent url

About the Employer:
( 89 reviews ) Ljubljana, Slovenia, Monaco

Project ID: #567417

Awarded to:


hi, i am Javascript expert, i can help you complete this [url removed, login to view] contact by PMB.

$30 USD in 2 days
(4 Reviews)

6 freelancers are bidding on average $46 for this job


Please see PM.

$100 USD in 0 days
(35 Reviews)

lets start now

$35 USD in 1 day
(14 Reviews)

easy job,I can do it.

$50 USD in 1 day
(20 Reviews)

Hi, I have a couple of things to tell you, please check PM. Regards, Fred.

$30 USD in 0 days
(6 Reviews)

let us start

$30 USD in 1 day
(3 Reviews)