« first day (1370 days earlier)      last day (2732 days later) » 

4:27 AM
@Queen k
 
 
6 hours later…
10:52 AM
 
11:35 AM
@ravi.zombie preventing room freeze
 
 
4 hours later…
3:06 PM
I need to redirect when user exits the webpage. My teach said it cant be done. But I am really hard to do it, can anybody has any suggestions why this doesnt work ?

var redirecting= false;

window.onbeforeunload = function() {

if (redirecting) return;

setTimeout(function() {


window.top.location.href= 'http://www.gg.com';

redirecting=true;


}, 10);

};
 
I need to redirect when user exits the webpage. My teacher said it cant be done. But I am really working hard to do it, can anybody has any suggestions why this doesnt work ?
http://hastebin.com/tedutofiva.js

var redirecting= false;

window.onbeforeunload = function() {

if (redirecting) return;

setTimeout(function() {


window.top.location.href= 'http://www.gg.com';

redirecting=true;


}, 10);

};
 
 
5 hours later…
7:57 PM
is there a circular reference here,

data.summary = {
"name": data.name || "UNKNOWN",
"gender": data.gender || "UNKNOWN",
"lifespan": data.lifeSpan || "",
"readOnly": data.readOnly || false
};

because I am not seeing one...
 
8:15 PM
@Queen can you please give me an example of the command?
 
@JoeSaad These are available commands in this room see also quick guide for usage.
Guest
    api-quota - Get the current api quota
    commands - Display this list
    help - Display information about the chat bot
    stats tags - Show statistics on different tags
    stats rooms - Show statistics on different rooms
    users - Display the list of enabled users
Reviewer
    <max-questions> [tag]* <dupes> <cv-count>cv <q-score>s <answerType> <age>d -all - Cherry pick what you like to review
          answerType: a=Has answer, aa=Has accepted answer, na=Has no answer, naa=Has no accepted answer, nr=No roomba
 

« first day (1370 days earlier)      last day (2732 days later) »