Javascript interacting with I-Frames

n3xus

Junior Member
Joined
Apr 19, 2009
Messages
121
Reaction score
32
I've been searching around this site as well as google, but I can only seem to find hints here and there.

I'm looking for a definitive answer to the question: can javascript or AJAX be used to enter data and submit it within an iframe?

In my mind it seems too good to be true, but I was just curious if anyone knows about this more.
 
mmm ah I gotcha. Haha I didn't even think about it in that light, but thanks. That saves me some time searching for an answer lol.
 
good to be true? you kidding right? when you iframe something on a website, the ip that is sent to that website is the ip of the server. Such thing is possible but then you have 500 offers filled out with the same ip.


That's not correct.
 
good to be true? you kidding right? when you iframe something on a website, the ip that is sent to that website is the ip of the server. Such thing is possible but then you have 500 offers filled out with the same ip.

When you iframe on a site the IP address sent is that of the client...NOT the server. So the IP address is not an issue as you say. If you have 500 unique users filling in the iframed offer you will have 500 different IPs.

The referrer is where you would run into an issue since it would show as the parent page but you can work around that using javascript like cparedirector does and have a WH page to fake the referrer to.

CURL is what will use the IP address of the server.
 
agentcash and zone69 are correct, it is the user's ip that is sent in the request. the problem is you can not access anything between the user and the iframe for security purposes (just like you cannot access the user's other tabs in firefox). that is the whole premise of adsense and why you can read the click urls to fake the click under the user, only they have access to it.
 
You have to run the links inside the iframe under multiple proxies to make sure IP is unique.
 
You have to run the links inside the iframe under multiple proxies to make sure IP is unique.

that doesn't make much sense bro... why go through the trouble of the iframe then? in that case just collect user's data and submit it to all your offers through a proxy with a bot.. :rolleyes: the point is matching the users actual IP with the submit... If your offer accepts "GET" form requests you could pull it off, otherwise nope.
 
Last edited:
You cannot access the interior of any iframe which is accessing a page on a different host. Trying to do so causes security violations.
 
You cannot access the interior of any iframe which is accessing a page on a different host. Trying to do so causes security violations.

Thank you for clearing that up my firiend. Obviously my previous posts didn't address that fact :confused:
 
Back
Top