webpack.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. <link rel="manifest" href="./manifest.json">
  10. <link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
  11. </head>
  12. <body class="reset"></body>
  13. <script>
  14. converse.plugins.add('converse-debug', {
  15. initialize () {
  16. const { _converse } = this;
  17. window._converse = _converse;
  18. }
  19. });
  20. converse.initialize({
  21. show_send_button: true,
  22. auto_away: 300,
  23. auto_register_muc_nickname: true,
  24. loglevel: 'debug',
  25. enable_smacks: true,
  26. i18n: 'en',
  27. message_archiving: 'always',
  28. persistent_store: 'IndexedDB',
  29. muc_domain: 'conference.chat.example.org',
  30. muc_respect_autojoin: true,
  31. view_mode: 'fullscreen',
  32. websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
  33. // bosh_service_url: 'http://chat.example.org:5280/http-bind',
  34. muc_show_logs_before_join: true,
  35. whitelisted_plugins: ['converse-debug'],
  36. });
  37. </script>
  38. </html>