CC
console.chat
Chat right from your browser’s developer console
Add a salt to identifier hash
Block messages that start with data:
Fixed path traversal security vulnerability
Change message loading interval to 5 seconds
Add some protections for clearing browser data
Basic ban evasion protection!
Auto ban users for select keywords.
Store last sent time in session too for extra validation.
Outputting messages from websocket server to console
After days and days of stressing over a bug I found a solution. (less bandwidth usage now)
Switched from XMLHttpRequest to fetch
no longer blocks messages it just replaces offensive stuff with asterisks
chat filter has been improved to help curb people evading it.
Storing usernames in localstorage https://github.com/DaltonWebDev/console.chat/commit/09f0e85dcd2560d8036dd87958303f61e55530d9
RewriteRule ^load.js /load.php