Prevent Logout on LowEndTalk

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

Tác giả
Zyra
Cài đặt hàng ngày
0
Số lần cài đặt
5
Đánh giá
0 0 0
Phiên bản
1.4
Đã tạo
01-12-2024
Đã cập nhật
01-12-2024
Giấy phép
MIT
Áp dụng cho

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.