fattwam Posted April 13, 2011 Report Posted April 13, 2011 Hy,Basically what i want is a script so when a user views a website though my proxy the proxy will detect any Ad code and replace it with my own code. But it would have to be able to replace the appropriate code with my corresponding code. Such as if there is an ad being displayed that is a banner 728*90 i need it to be replaced with my 728*90 banner, same with box 250*250 and so on and so forth. I would want this to detect many ad types such as Google, Yahoo, Right Media, Clicksor, Bidvertiser, and others. Im pretty sure that this should be done using JavaScript replace but im not entirely sure. Any help appreciated. 1
iBotPeaches Posted April 13, 2011 Report Posted April 13, 2011 I used to have some javascript code to remove ads and replace them with white boxes, but I'm sure it could be changed to replace with your own ads. However, detecting the size of the ads, I'm not entirely sure of. I'll look for the code.
iBotPeaches Posted April 16, 2011 Report Posted April 16, 2011 It looks pretty tough. If all ads were the same, underlying code you could use JS regex to pull the size and re-create your own, but their not. So hold on.
fattwam Posted April 16, 2011 Author Report Posted April 16, 2011 Any help is appreciated, even if its only for Google ads and not all ad companies.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now