Find Jobs
Hire Freelancers

Anti iFrame Detection and Referrer Blocking Script

$30-150 USD

Peruutettu
Julkaistu yli 8 vuotta sitten

$30-150 USD

Maksettu toimituksen yhteydessä
1. The problem Sometimes I need to embed my html pages into other domains as iframe, my html pages contain the affiliate ID from affiliate networks. The problem is - the affiliate networks only permit that ID to be displayed on my own domain. They typically employ JavaScript tracking code on my page body (some times also on head) that send my browser info to their servers to enforce the same-domain policy. To illustrate how it looks: [login to view URL] <html> <head> <SCRIPT SRC="[login to view URL]" TYPE="text/javascript"></SCRIPT> </head> <body> some content... <SCRIPT SRC="[login to view URL]" TYPE="text/javascript"></SCRIPT> more contents... <SCRIPT SRC="[login to view URL]" TYPE="text/javascript"></SCRIPT> ... more contents... <SCRIPT SRC="[login to view URL]" TYPE="text/javascript"></SCRIPT> </body> </html> On their tracking server, they typically employ Javascript code to check if the affiliate ID is indeed on the target domain, not be iframed into other domains. [login to view URL] if [login to view URL] !== self //they know the aff ID is iframed to other domains var whoFramedMe = [login to view URL] //they know top domain What makes things complicated is that different affiliate networks use different DOM property aliases, some examples: if top !== self if [login to view URL] !== self if [login to view URL] !== [login to view URL] if [login to view URL] != [login to view URL] and so on... you can see for one [login to view URL] property, there can be many combination of variations. Some may also use: [login to view URL] [login to view URL] ... The requirements: 1. In the event of I iframing [login to view URL] into other domains, I need JavaScript code on [login to view URL] to make their detection script think their pages are NOT iframed, e.g. everything is fine, the affiliate ID is still shown on my_domain.com. 2. I also need the JavaScript code on [login to view URL] to block the referrer tracking by the affiliate networks, e.g. I don't want to reveal where my visitors are coming from. Please note that I may place multiple iframes (from different affiliate networks) into one page, therefore an universal anti detection script will be ideal and highly desired. Otherwise you will have to develop a separate script for each of the networks.
Projektin tunnus (ID): 9510852

Tietoa projektista

1 ehdotus
Etäprojekti
Aktiivinen 8 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista

Tietoja asiakkaasta

Maan CANADA lippu
Richmond Hill, Canada
5,0
3
Maksutapa vahvistettu
Liittynyt jouluk. 30, 2004

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.