Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebSockets Error
#1
I'm trying to load a JavaScript based website into a dialog, but when the webpage tries to load I get the following message in a pop up: "Error: this browser does not support WebSockets". The website itself works fine on any browser I've tried it on, but it refuses to open in the dialog. I've also tried calling it directly with it's ip:port, and also through a web address. I tried going through some of the web page examples in the archive, but I didn't have any luck. Any help/ideas are appreciated. Thanks!
#2
Try this.
Macro Macro2548
Code:
Copy      Help
rset 1 "qm.exe" "Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET"

From:
https://www.google.lt/#q=WebSockets+web+browser+control
http://stackoverflow.com/questions/2140 ... er-control
http://stackoverflow.com/questions/1833 ... 2#18333982

I cannot test, because don't know a web page that uses WebSockets.
#3
Thanks for the reply Gint! I will take a look.
#4
I gave it a shot in a few different methods, but it did not do the trick for me. Is it possible to embed a Google chrome window in a quick macros dialog?
#5
Should be possible with Chromium Embedded Framework (CEF), but difficult.
https://bitbucket.org/chromiumembedded/cef

QM can use C API.
https://bitbucket.org/chromiumembedded/ ... TheCAPI.md

But most documentation/samples are for C++. Anyway, I think it would be too difficult for QM users.
#6
See also:
SHDocVw.WebBrowser versioning..
#7
One of these should work.
Macro Macro2549
Code:
Copy      Help
rset 1 "qm.exe" "Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET"
rset 1 "qm.exe" "Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET" HKEY_LOCAL_MACHINE

str wow64=iif(_win64 "\Wow6432Node" "")
rset 1 "qm.exe" F"Software{wow64}\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET"
rset 1 "qm.exe" F"Software{wow64}\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET" HKEY_LOCAL_MACHINE

Some features can be enabled with API function CoInternetSetFeatureEnabled, but it does not support FEATURE_WEBSOCKET.
#8
Thank you Gint! These were very helpful.


Forum Jump:


Users browsing this thread: 3 Guest(s)