javascript:history.go(-2)

makes it go two pages back for links but how do u put it in the script tags just when the page loads go back 2 pages?

<body onload='history.go(-2)'></body>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.