What browser plugins support cross-domain TCP sockets?

A feature of my web application requires fetching and parsing html from an unaffiliated, third-party website. I want to do this on the client side. I already know about server proxies. My research has shown that only a self-signed Java applet can do this. Flash requires placing the policy file on a third-party website (this is not possible), so this will not help.

Are there other cross-platform solutions in a browser with a large installation base?

And again, NOT interested in server-side proxies. I just want to know about client technologies in a browser that allow cross-domain TCP connections other than java applets.

+3
source share
3 answers

You do not give a lot of information, but one thing you can do if you need to do this in the browser is that your browser technology (applet, flash, javascript, silverlight) exchange data with your server, and your server does call on their behalf.

This provides several advantages, one of which is that if you ever want to change a third-party application, you just change it on the server.

Some third-party sites may be unhappy if they are accessed by random customers.

It also allows the server to do some processing so that the client can do the rest of the processing.

+1
source

, , , - .

ajax , java-.

+1

You can write the server side of the script in your domain, which sends data from the remote server to the client.

All this costs you bandwidth.

0
source

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


All Articles