var l = Data.length;
var n = 0;
function send() {
API.sendData(Data[n]);
n++;
if (n < l) {
setTimeout(send, 100);
}
}
send();
There is no way to clear the session history or to disable the back/forward navigation from unprivileged code.