Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于view-source: #77

Open
2031301686 opened this issue Nov 16, 2023 · 1 comment
Open

关于view-source: #77

2031301686 opened this issue Nov 16, 2023 · 1 comment

Comments

@2031301686
Copy link

disable-devtool已经做的很好了,完全可以挡住小白,但是没有完全解决搬运代码问题,因为在url前直接增加view-source:还是可以直接看到代码,一些搬运的人还是懂一点的。我见百度做到了,应该是动态输出的,不知道如何在普通项目中加入这个功能

@theajack
Copy link
Owner

@2031301686 所谓的动态输出其实就是SPA,通过js生成DOM元素插入到Document上,当然也可以动态加载资源,这个完全是看业务的实现的。
即便是动态输出的内容和资源,还是可以通过抓包和爬虫来拿到WebApp的资源的,前端没有办法做完全防护。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants