confact / dunirc Goto Github PK
View Code? Open in Web Editor NEWA HTML5 irc-client, made with websocket and websockify
A HTML5 irc-client, made with websocket and websockify
Hello there is an issue in the function mejoin(e)
Sometimes the lenght of: var newmsg = e.split("\r\n:");
Is not above 1 and therefore trying to do newmsg = newmsg[1].split(" ");
breaks the script.
I changed to:
var newmsg = e.split("\r\n:"); if(newmsg.length < 2) return; newmsg = newmsg[1].split(" ");
As a temp fix to prevent from breaking the code but this means all the code in the function is not executed.
Also
Sometimes after reloading the page, it connects, it can send messages but not receive them.
And when i seems to join correctly the channel and we can send messages between 2 clients.
1 of the client can see the userlist but the other cant.
This fix my 2 previous issues...
Code: http://pastebin.com/kV82GYZe
This fix all issues i found.
Hello,
First of all thank you for this nice script, i got it working using websockify.js ( node.js version located in folder other/js ) on windows!
I noticed message wasnt showing or sending, so i took a look at my web console and saw an error at e.Match
... e wasnt defined, so i looked at your past commits and saw that e should be :
var e = window.atob(content.data);
So i added it to the line 126, now it fixed the issue! YAY! ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.