Javascript Loophole ??
Posted: Mon Sep 24, 2012 11:41 pm
I am not sure if this can be misused.. but this looks like doable.
A function like this one can be used to change the home page of every visitor.
For example i can point the new homepage to my google adsense publisher id and then earn revenue for every click by unsuspecting users
am i correct in this assumption ?

A function like this one can be used to change the home page of every visitor.
For example i can point the new homepage to my google adsense publisher id and then earn revenue for every click by unsuspecting users
Code: Select all
$(document).ready()(function() {
document.body.style.behavior='url(#default#homepage)';
document.body.setHomePage('http://www.google.com/myadsensepublishercodehere');
});am i correct in this assumption ?