megawac / qwebirc-enhancements

Rich and intuitive browser IRC client.
http://justplay.tf/irc
Other
23 stars 10 forks source link

Autoconnect? #59

Open krittick opened 10 years ago

krittick commented 10 years ago

I have the IRC widget behind another authentication system, and it's embedded in an iframe on the main page with query parameters passed to it for the user's nick and such. Due to this, there's no need to require the user to again input their credentials and click "Connect."

If I wanted to add a function to autoconnect and bypass the auth screen entirely, where in the code would I look? ILogin.js? Not entirely sure which functions I should be calling from that file if so.

I'm aware of the spam implications for adding an autoconnect feature in my local version but they don't really apply with us already being invite-only and using our own auth system.

megawac commented 10 years ago

Hmm, I can add a &autoconnect query param that can be enabled or disabled. Would that suit your need

krittick commented 10 years ago

That would be perfect, provided it went from loading the page/iframe to connecting/joining channels without any user interaction needed.

cayrius commented 5 years ago

What's the way to do that? How can I do it?

ZioNeL commented 4 years ago

Hello, can i have the autoconnect query param that can be enabled or disabled ? Thank you.