谢谢大家。
![]() |
1
totoro625 192 天前
可以参考一下这个项目: https://github.com/netptop/siteproxy
|
![]() |
3
oneisall8955 192 天前
@Vitumoc 未混淆之前看过源码,核心是代理+响应体替换
|
4
DIO 192 天前 via Android
相关好用的项目有推荐吗
|
![]() |
5
totoro625 192 天前 ![]() @Vitumoc #2 可以看一下 forks: https://github.com/netptop/siteproxy/forks
另一个项目: https://github.com/EtherDream/jsproxy |
![]() |
6
Vitumoc 192 天前
看了一下,可以回答题主了:
学校用的,这个帖子有讨论 |
![]() |
7
Vitumoc 192 天前
看了一会,可以回答题主了:
学校用的,这个帖子有讨论,结论就是技术上是反向代理,然后有成熟的供应商 https://tanronggui.xyz/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. |