webpack.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Converse.js</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <meta name="description" content="Converse.js: A free chat client for your website" />
  9. <script src="3rdparty/libsignal-protocol.js"></script>
  10. <link rel="manifest" href="./manifest.json">
  11. <link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
  12. <script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script>
  13. </head>
  14. <body class="reset"></body>
  15. <script>
  16. converse.plugins.add('converse-debug', {
  17. initialize () {
  18. const { _converse } = this;
  19. window._converse = _converse;
  20. }
  21. });
  22. converse.initialize({
  23. allow_bookmarks: false,
  24. allow_muc_invitations: true,
  25. allow_registration: false,
  26. assets_path: 'https://ietf.goxmpp.com/chat/dist/',
  27. authentication: 'anonymous',
  28. auto_join_rooms: [{'jid': 'hallway@jabber.ietf.org', 'hidden': false}],
  29. auto_login: true,
  30. auto_reconnect: true,
  31. blacklisted_plugins: ['converse-vcard', 'converse-profile'],
  32. bosh_service_url: 'https://ietf.goxmpp.com/http-bind',
  33. default_domain: 'guest.ietf.goxmpp.com',
  34. discover_connection_methods: false,
  35. domain_placeholder: 'guest.ietf.goxmpp.com',
  36. jid: 'guest.ietf.goxmpp.com',
  37. locked_muc_domain: true,
  38. loglevel: 'debug',
  39. muc_domain: 'jabber.ietf.org',
  40. singleton: false,
  41. use_emojione: false,
  42. view_mode: 'fullscreen',
  43. // theme: 'concord',
  44. // show_send_button: true,
  45. // auto_away: 300,
  46. // auto_register_muc_nickname: true,
  47. // loglevel: 'debug',
  48. // modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
  49. // modtools_disable_query: ['moderator', 'participant', 'visitor'],
  50. // enable_smacks: true,
  51. // // connection_options: { 'worker': '/dist/shared-connection-worker.js' },
  52. // message_archiving: 'always',
  53. // muc_domain: 'conference.chat.example.org',
  54. // muc_respect_autojoin: true,
  55. // view_mode: 'fullscreen',
  56. // websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
  57. // // bosh_service_url: 'http://chat.example.org:5280/http-bind',
  58. // muc_show_logs_before_join: true,
  59. // whitelisted_plugins: ['converse-debug', 'converse-batched-probe'],
  60. });
  61. </script>
  62. </html>