Fix SharePoint "Sign in to continue" bug

Automatically clicks the 'Not now' button on SharePoint login pop-ups.

Autor
1ukastesar
Denně instalací
0
Celkem instalací
0
Hodnocení
0 0 0
Verze
1.0
Vytvořeno
20. 09. 2025
Aktualizováno
20. 09. 2025
Size
1,6 KB
Licence
MIT
Spustit na

Fix SharePoint "Sign in to continue" bug

Disclaimer

This script was almost entirely written by AI, supervisioned by a junior programmer. It went rigorous testing and undergone several iterations to improve code quality and remove mistakes that AI commonly does. From my point of view, the code is so simple and straightforward that there is a little room for error - but if you find one, let me know!

Explanation

As a part of some updates a long time ago, SharePoint Online (Web version) introduced a brand new feature called "I will annoy users by showing an unnecessary login prompt every now and then making the UX much worse". It seems that the popup is indeed unnecessary as clicking "Not now" will make it go away and you can continue using the app.

This script works around the popup issue by immediately clicking the "Not now" button when the popup shows.

Author

Lukas Tesar [email protected] with the help of Gemini 2.5 Pro

License

MIT

Other links

Also available as a GitHub Gist: https://gist.github.com/1ukastesar/208c016c84b666e655090285ac4469f3