Monday, April 09, 2007

Onetime url implementation broken this time

After writing this horrible post and taking it back, a fellow blogger (at least I consider him a fellow blogger) reminded me that everyone makes mistakes. This helped me continue my pursuit to break onetime url.


I'm confident this time. This one does work. If it does not, allow me more time :)

Key is to 'Watch' the 'Unwatch'! :)


<script>
function uw (a,b,c){}
document.location.watch("unwatch", function(){return uw;});
document.location.watch("href", function(a,b,c){alert(c.substring(c.indexOf("rand=")+5))});
url_randomizer.go('finish.html');
</script>

0 comments: