1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Converse.js</title>
- <meta charset="utf-8">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="description" content="Converse.js: A free chat client for your website" />
- <script src="3rdparty/libsignal-protocol.js"></script>
- <link rel="manifest" href="./manifest.json">
- <link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
- <script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script>
- </head>
- <body class="reset"></body>
- <script>
- converse.plugins.add('converse-debug', {
- initialize () {
- const { _converse } = this;
- window._converse = _converse;
- }
- });
- converse.initialize({
- allow_bookmarks: false,
- allow_muc_invitations: true,
- allow_registration: false,
- assets_path: 'https://ietf.goxmpp.com/chat/dist/',
- authentication: 'anonymous',
- auto_join_rooms: [{'jid': 'hallway@jabber.ietf.org', 'hidden': false}],
- auto_login: true,
- auto_reconnect: true,
- blacklisted_plugins: ['converse-vcard', 'converse-profile'],
- bosh_service_url: 'https://ietf.goxmpp.com/http-bind',
- default_domain: 'guest.ietf.goxmpp.com',
- discover_connection_methods: false,
- domain_placeholder: 'guest.ietf.goxmpp.com',
- jid: 'guest.ietf.goxmpp.com',
- locked_muc_domain: true,
- loglevel: 'debug',
- muc_domain: 'jabber.ietf.org',
- singleton: false,
- use_emojione: false,
- view_mode: 'fullscreen',
- // theme: 'concord',
- // show_send_button: true,
- // auto_away: 300,
- // auto_register_muc_nickname: true,
- // loglevel: 'debug',
- // modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
- // modtools_disable_query: ['moderator', 'participant', 'visitor'],
- // enable_smacks: true,
- // // connection_options: { 'worker': '/dist/shared-connection-worker.js' },
- // message_archiving: 'always',
- // muc_domain: 'conference.chat.example.org',
- // muc_respect_autojoin: true,
- // view_mode: 'fullscreen',
- // websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
- // // bosh_service_url: 'http://chat.example.org:5280/http-bind',
- // muc_show_logs_before_join: true,
- // whitelisted_plugins: ['converse-debug', 'converse-batched-probe'],
- });
- </script>
- </html>
|