Here is a little javascript which i need. It is really simple.
HERE
Ok so it is basically about the publically available information machines. I'm 100% sure that u have seen something like that.
The story is, that i was walking in the city and i needed some information from the internet. But all the free internet places were closed at the moment, but I've stumbled across this information machine which could open only one site (the webpage of the city) but no other. I've made up my mind to "hack it". so on this site there is a guestbook ;) I love those... you can enter any information you want. i just needed to put inside it a link to my site where i placed a simple javascript which will navigate me to the site i want to open. So hack is done.
The source:
<script type="text/javascript">
function gourl(){
var url1 = document.getElementById('myText');
if(url1.value != "")
window.location = url1.value
}
script>
Ok so as you see it's easy. This is a very nice example of hacking
because about what it is, is the idea. sometimes simple sometimes
complicated. Feel free. Never accept anything as it is, try to change
it :)
JoeAdamJoe