--- /dev/null
+<script type="text/javascript">
+ var net = kiwi.components.Network();
+ var input = kiwi.components.ControlInput();
+
+ if(getQueryVariable('channel')){
+ var channel = "#" + getQueryVariable('channel');
+
+ $('.server_select').hide();
+ $('#server_select_channel').val(channel);
+ $('form button').click();
+ }else if(getQueryVariable('private')){
+ var private = getQueryVariable('private');
+
+ $('.server_select').hide();
+ $('form button').click();
+
+ net._source.bind('onconnect', function(){
+ input.run('/query '+private);
+ })
+ }
+</script>
\ No newline at end of file