Java code in chrome extension

I am trying to create a Chrome extension with a form uploading an image as follows:

<form method="post" enctype="multipart/form-data"> <p><input type="file" name="image"></p> <p><input type="submit" value="Mark"></p> </form> 

I would like the “action” of this form to be a servlet in JAVA that runs the code that converts this image and the response will be “transformed”.

I was thinking about other options, such as executing a JAR with code that converts the image, but I don't know if this is possible.

Is it possible to include JAVA code that controls the image in another inside the Chrome extension?

Many thanks to Spain.

+4
source share
1 answer

I just keep my answer short and sweet. It seems that at the moment java is not supported in chrome extensions. The problem was sent for the chromium project, which is a Chrome browser. The ticket looks relevant, since the last post was only a few months ago, the status is still not corrected. Several threads point to the same article below:

http://code.google.com/p/chromium/issues/detail?id=30258

0
source

Source: https://habr.com/ru/post/1390029/


All Articles