4 ms·
Broken on Firefox (v 109, on macOS Ventura) with NoScript -- keeps refreshing too fast to tell NoScript to temporarily allow scripts from some of the sources. K
by cstross 4y ago
Broken on Firefox (v 109, on macOS Ventura) with NoScript -- keeps refreshing too fast to tell NoScript to temporarily allow scripts from some of the sources. Keeps refreshing continuously if I disable all restrictions on that tab.
I couldn't get far enough with it to even see the complete loaded UI.
- freilanzer 4y agoEven without NoScript it's rapidly reloading.
- bennyp101 4y agoLooking at the code, it looks like they are not logging into MongoDB/Realm async, they are just checking if it is done, then reloading the page if not. const user = app.logIn(credentials); export const client = num_users===0 ? // wait for 1 second before reloading the page setTimeout(() => { window.location.reload(); }, 350) : app.currentUser.mongoClient("mongodb-atlas") (which coincides with loads of realm users in localstorage if it continues to reload) This https://www.mongodb.com/docs/realm/web/authenticate/ https://www.mongodb.com/docs/realm/web/authenticate/ shows how to login whilst waiting for a user to be created. Edit: @aditiyadav Hope that doesn't come across wrong, just pointing out where the problem could be :)
- aditiyadav 4y ago@bennyp101 Thanks a lot for your feedback! I am grateful for you spending time on my website and pointing out the problem along with the possible solution :) Really appreciate it. Fixing on it now.
- aditiyadav 4y agoThis really helped me @bennyp101, Hopefully the issue is resolved now.
- chx 4y agoUtter waste of time to get anything working with noscript. That's pandering to a niche of a niche.
- dsr_ 4y agoWhen technical niche users tell you about a problem, you almost certainly have that problem. When general users tell you about a problem, 80% of the time it's not that problem.
- aditiyadav 4y agoThanks folks for pointing out the issues. Have been heads-down here and now its loading without any glitch. WIP on making it responsive across screens and improving ML models to understand natural language queries. Much appreciated!
- aditiyadav 4y agoThanks a lot for the feedbacks, Have been heads-down here and now its loading without any glitch. WIP on making it responsive across screens and improving ML models to understand natural language queries. Much appreciated!