
谢谢大家。
1 totoro625 2024-07-31 10:50:19 +08:00 可以参考一下这个项目: https://github.com/netptop/siteproxy |
4 DIO 2024-07-31 13:12:33 +08:00 via Android 相关好用的项目有推荐吗 |
5 totoro625 2024-07-31 14:04:57 +08:00 @Vitumoc #2 可以看一下 forks: https://github.com/netptop/siteproxy/forks 另一个项目: https://github.com/EtherDream/jsproxy |
6 Vitumoc 2024-07-31 16:20:22 +08:00 看了一下,可以回答题主了: 学校用的,这个帖子有讨论 |
7 Vitumoc 2024-07-31 16:22:07 +08:00 看了一会,可以回答题主了: 学校用的,这个帖子有讨论,结论就是技术上是反向代理,然后有成熟的供应商 t/979011 至于这个项目 https://github.com/netptop/siteproxy 这种代理方式,自述中有原理: 1. user browser url: https://siteproxy.herokuapp.com/https/www.google.com 2. siteproxy.herokuapp.com received the url and request www.google.com, and get response from www.google.com 3. siteproxy replace all returned strings in Javascript/html: https://www.google.com => https://siteproxy.herokuapp.com/https/www.google.com url(/xxx) => url(/https/www.google.com/xxx) https://xxx => https://siteproxy.herokuapp.com/https/xxx etc. 4. send back the modified html/Javascript to user browser. |