Jump to content
News Ticker
coolduck

sng website mobile bug

Recommended Posts

It's the forum for some reason constantly reloading, happened to @sleepy

I can reproduce this 100% of the time when using a blank Firefox browser (i.e. private browsing)

I think it's this code in root_library.js

if (responseJson) {
    if (!_.isUndefined(responseJson.message) && responseJson.message != '') {
        ips.utils.cookie.set('flmsg', responseJson.message);
    }
    if (responseJson.redirect.match(/#/)) {
        window.location.href = responseJson.redirect;
        window.location.reload();
    } else {
        window.location = responseJson.redirect;
    }
}

Blocking the file using uBlock Origin instantly fixes the problem, and the above code is the only thing I found that could reload or change the page url.

Share this post


Link to post
Share on other sites
22 hours ago, Extacy said:

It's the forum for some reason constantly reloading, happened to @sleepy

I can reproduce this 100% of the time when using a blank Firefox browser (i.e. private browsing)

I think it's this code in root_library.js

if (responseJson) { if (!_.isUndefined(responseJson.message) && responseJson.message != '') { ips.utils.cookie.set('flmsg', responseJson.message); } if (responseJson.redirect.match(/#/)) { window.location.href = responseJson.redirect; window.location.reload(); } else { window.location = responseJson.redirect; } }


if (responseJson) {
    if (!_.isUndefined(responseJson.message) && responseJson.message != '') {
        ips.utils.cookie.set('flmsg', responseJson.message);
    }
    if (responseJson.redirect.match(/#/)) {
        window.location.href = responseJson.redirect;
        window.location.reload();
    } else {
        window.location = responseJson.redirect;
    }
}

Blocking the file using uBlock Origin instantly fixes the problem, and the above code is the only thing I found that could reload or change the page url.

While the file itself is on all instances of invision that I have access to, that bit of code that reloads the page is only on skynetgaming.net, so I'm thinking its either in a theme, plugin, application, or a settings. However, I spent the last hour or so looking and I could not find where it is.

 Maybe @ August knows where this was put in?

Share this post


Link to post
Share on other sites
On 2/10/2020 at 9:51 PM, Kel said:

"Fuck the mobile niggas" - Camp probably

Not just mobile. Happens on my PC and laptop too. Firefox w/ Ublock

Share this post


Link to post
Share on other sites
2 hours ago, Mr.Derp said:

Updated chatbox to a newer version, opened a private window in Firefox and doesn't seem to happen anymore.

Still happens to me, sometimes it reloads as little as 4 times and sometimes as much as 12 or more times.

 

Share this post


Link to post
Share on other sites
2 hours ago, Extacy said:

Still happens to me, sometimes it reloads as little as 4 times and sometimes as much as 12 or more times.

 

Weird, wasn't happening to me before now is. Cleared forum cache and seems to not be happening currently. Let's see if the issue comes back.

Still happening :( i'll look into it in a day or so.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...