您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

oauth.html 1.2KB

1234567891011121314151617181920212223242526272829303132333435
  1. <html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
  2. <head>
  3. <meta charset="utf-8">
  4. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <!--#include virtual="/base.html" -->
  7. <!--#include virtual="/title.html" -->
  8. <script>
  9. function getParentWindowCallback() {
  10. var windowName = window.name;
  11. var parentWindow = window.opener;
  12. if (parentWindow
  13. && parentWindow.JitsiMeetJS
  14. && parentWindow.JitsiMeetJS.app) {
  15. var globalNS = parentWindow.JitsiMeetJS.app;
  16. if( globalNS.oauthCallbacks
  17. && typeof globalNS.oauthCallbacks[windowName]
  18. === 'function') {
  19. return globalNS.oauthCallbacks[windowName];
  20. }
  21. }
  22. return undefined;
  23. }
  24. var callback = getParentWindowCallback();
  25. if (typeof callback === 'function') {
  26. callback();
  27. } else {
  28. alert('Something went wrong!');
  29. }
  30. </script>
  31. </head>
  32. <body />
  33. </html>