Compatibility ?
I have a community card playground, quite old (developed more than 10 years ago). It works via JAVA applets. This playground is multiplayer. I tried the browser plugin, it doesn't work.
7 Replies
Is this a publicly accessible website? Is difficult for us to help if we cannot see the problem
yes. bfmania.com, very old.
ident : test
pwd : essai
go to => "belote" in menu
BFmania
Jouer à la belote en ligne gratuitement - Belote multijoueurs en li...
Jouer à la belote en ligne gratuite sur BFmania, belote multijoueurs en ligne, belote classique, belote moderne, belote coinchée tout atout et sans atout.
@Elisabeth Please investigate when you have a chance
Hey @Axx ,
I had a look a the website you shared, I noticed the applet is deployed both using Java WebStart and with a standart applet tag, so I tried both of our extensions.
I managed to get both of the extension to trigger with the applet, for the AppletRunner I needed to open the belote popup in a new browser tab since the popup window had no access to extensions and was under a different domain than the main page. Like that I was able to launch it with the extension. For the JNLPRunner, the extension triggers when clicking on the "Accéder à l'aire de jeux" in the popup. Here the extension ran into an issue since the jnlp file starts off with a newline, which triggers a parsing error. Removing the newline in the jnlpfile also made the application launch.
I still ran into some errors with both of the extensions caused by non-standard HTTP access, which is currently not supported in either of the extensions. I assume this happens since the game is looking for other players to play against online. This is something we plan to implement in the future but we currently don't have the bandwidth for this work, I am sorry.
Hello, what do you mean by "non-standard HTTP access"?
The application does not launch, normally you should access another page. This is just the loading page
Thank you for your investigations
CheerpJ HTTP and HTTPS (to the same domain) out-of-the-box for all applications using the default HTTP handler in Java. This applies to all code using the
HttpURLConnection
class. This applet is instead directly using the lower level handlers in the sun.net.www.protocol
namespace.
Browsers do not provide low level sockets, so CheerpJ needs to intercept HTTP traffic at a high level and convert it to standard fetch
requests. Since the applet is using the low level handlers CheerpJ does not have the possibility of intercepting the requests.