RuneRebels

General => Suggestions, Compliments, And Questions => Started by: Olivia020 on January 07, 2013, 02:13:08 pm

Title: Client PHP suggestion.
Post by: Olivia020 on January 07, 2013, 02:13:08 pm
Add a script where if you leave or try to go back a page, it will ask you "Are you sure you wish to leave this page?"


and then you can press yes or cancel.


I'm as well im sure as many others are a victim of pressing the Backspace button and going back quiet a few pages and then getting stuck on your account is still logged in.
Title: Re: Client PHP suggestion.
Post by: Kevin on January 07, 2013, 02:30:11 pm
Good idea! We can do that!
Title: Re: Client PHP suggestion.
Post by: Shane on January 10, 2013, 08:13:31 pm
You could also download the client to help run the game faster. :]
Title: Re: Client PHP suggestion.
Post by: Ruby on January 13, 2013, 10:51:12 am
Bearing in mind that this won't be done in PHP, it's JavaScript.
Code: [Select]
window.onbeforeunload = function() {
return 'Make sure you have logged out from RuneRebels before continuing';
};
That'll work in most browsers.