Hello,
I found an error in javascript of staff online widget can someone help me to solve it?
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
Hello, I tested the code in your forum through the browser console and it worked normally!Black-Shadow wrote:Bump
Interesting to know this!Black-Shadow wrote:(...)The only problem is when browser's cache full filled the status updates are not appearing in the widget but it is ok because I am usually cleaning the browser's cache.
(...)
console.clear();
var i;
console.log("local storage");
for (i=0; i<localStorage.length; i++) {
console.log(localStorage.key(i)+"=["+localStorage.getItem(localStorage.key(i))+"]");
}
console.log("session storage");
for (i=0; i<sessionStorage.length; i++) {
console.log(sessionStorage.key(i)+"="+sessionStorage.getItem(sessionStorage.key(i))+"]");
}
JScript wrote:@Black-Shadow
I think I did not express myself well, what I meant is that I will check the "storage" used on your forum with the code below:
- Code:
console.clear();
var i;
console.log("local storage");
for (i=0; i<localStorage.length; i++) {
console.log(localStorage.key(i)+"=["+localStorage.getItem(localStorage.key(i))+"]");
}
console.log("session storage");
for (i=0; i<sessionStorage.length; i++) {
console.log(sessionStorage.key(i)+"="+sessionStorage.getItem(sessionStorage.key(i))+"]");
}
That way I can check if there are any problems about it!
@APE
Maybe, but I do still wish to do some checks...
JS