login
Forgot?
Login with Facebook

Don't have an account? Register one now!

Javascript to check parent url from iframe

Bids 
6
Avg Bid
$46 USD
CLOSED
  • Project ID:

    567417
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

Project Description:

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 ="http://www.Domain.com/embeded.php?channelId=anynumber" 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 required:

AJAX, Javascript

Project posted by:

MitjaCAW Slovenia
(75 Reviews)

Last seen:

If you are the project creator or one of the bidders, please Log In for more options.


Awarded Bids

kingyond China
kingyond
China From China     Offline
  Foundation EUFreelance.com Member
 Accepted
$30 in 2 days 
0
over 2 years ago
5.0

3.5

4 Reviews
78% Completion Rate
hi, i am Javascript expert, i can help you complete this work.please contact by PMB.

All Bids ()

sidfishman United States
sidfishman
United States From United States     Gold Member     Offline
  General Freelancer Orientation (85%, 95th percentile)
$100 in 0 days 
0
over 2 years ago
5.0

5.3

30 Reviews
83% Completion Rate
Please see PM.
snowwolf China
Snap2.png
snowwolf
China From China     Offline
  Freelancer Orientation (80%, 94th percentile)
  Foundation LimeExchange Member
  Foundation EUFreelance.com Member
$35 in 1 day 
0
over 2 years ago
4.7

4.8

12 Reviews
68% Completion Rate
lets start now
ranacseruet Bangladesh
Banner.gif
ranacseruet
Bangladesh From Bangladesh     Offline
  General Freelancer Orientation (90%, 98th percentile)
  Foundation LimeExchange Member
$50 in 1 day 
0
over 2 years ago
5.0

4.4

20 Reviews
82% Completion Rate
easy job,I can do it.
fedestabile Argentina
logo.png
fedestabile
Argentina From Argentina     Offline
  Foundation EUFreelance.com Member
$30 in 0 days 
0
over 2 years ago
5.0

3.6

6 Reviews
93% Completion Rate
Hi, I have a couple of things to tell you, please check PM. Regards, Fred.
alexwuphp China
girl1-2.jpg
alexwuphp
China From China     Offline
$30 in 1 day 
0
over 2 years ago
5.0

2.6

3 Reviews
50% Completion Rate
let us start