It's OK now.
No space inside "noBack"
User Profile
Collapse
-
Again ! Let's try to write it in another way :
<script type="text/javascript">
function noBack(){
window.history. forward()
}
noBack();
window.onload= noBack;
window.onpagesh ow=
function(evt){
if (evt.persisted) noBack()
}
window.onunload =
function(){
void(0)
}
</script>Leave a comment:
-
Hi,
Sorry I don't know why there's a space that came inside the script.
One should read :
window.onpagesh ow=function(evt ){if(evt.persis ted)noBack()}
Hoping this'll appear OK.
RegardsLeave a comment:
-
-
Just insert this within head :
<script type="text/javascript">
function noBack(){window .history.forwar d()}
noBack();
window.onload=n oBack;
window.onpagesh ow=function(evt ){if(evt.persis ted)noBack()}
window.onunload =function(){voi d(0)}
</script>
It works with IE, Firefox, Safari and Opera using cache of client.Leave a comment:
No activity results to display
Show More
Leave a comment: