Em Andamento

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="http://www.Domain.com/" target="_blank" style="color:#0000FF;">TEXT</a> on <a href="http://www.Domain.com/" target="_blank" style="color:#0000FF;">http://www.Domain.com</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

Habilidades: AJAX, Javascript

Ver mais: 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

Acerca do Empregador:
( 89 comentários ) Ljubljana, Slovenia, Monaco

ID do Projeto: #567417

Premiar a:

kingyond

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

$30 USD em 2 dias
(4 Avaliações)
3.5

6 freelancers estão ofertando em média $46 para este trabalho

sidfishman

Please see PM.

$100 USD in 0 dias
(35 Comentários)
5.5
snowwolf

lets start now

$35 USD em 1 dia
(14 Comentários)
4.8
ranacseruet

easy job,I can do it.

$50 USD em 1 dia
(20 Comentários)
4.4
fedestabile

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

$30 USD in 0 dias
(6 Comentários)
3.6
alexwuphp

let us start

$30 USD em 1 dia
(3 Comentários)
2.6