Prevent Logout on LowEndTalk

Stops accidental logout on LowEndTalk by preventing access to the logout URL or similar variations using regex.

作者
Zyra
今日安裝
0
安裝總數
6
評價
0 0 0
版本
1.4
建立日期
2024-12-01
更新日期
2024-12-01
尺寸
1.3 KB
授權條款
MIT
腳本執行於

Prevents users from accidentally logging out on the LowEndTalk website. It does this by blocking access to URLs that match the logout pattern using a regular expression. If the user tries to visit a logout page, the script redirects them to the homepage instead. Additionally, it listens for any changes in the URL or clicks on logout links, and prevents logout actions by showing an alert.