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

SingleFile扩展插件可以直接下载网页,能否阻止该行为 #106

Open
YCZ01111 opened this issue Aug 10, 2024 · 4 comments
Open

Comments

@YCZ01111
Copy link

image

@Wind0317
Copy link

如果你能控制别人的下载行为,你都可以给他断网了,你觉得你有这样的权限吗?

@cubxx
Copy link

cubxx commented Sep 8, 2024

都不用插件,浏览器地址栏输入你的网址后就直接开始下载网页了,不过你可以写个插件拦截网络线程对你的网址的请求,然后说服用户安装你的插件🫡

@YCZ01111
Copy link
Author

YCZ01111 commented Sep 8, 2024

都不用插件,浏览器地址栏输入你的网址后就直接开始下载网页了,不过你可以写个插件拦截网络线程对你的网址的请求,然后说服用户安装你的插件🫡

我的网页是通过js从别处调取内容,通过网址直接下载网页只能得到js代码,而这个插件却能将加载好内容的网页下载下来

@cubxx
Copy link

cubxx commented Sep 8, 2024

感觉阻止下载不太可能,实际上不用插件直接ctrl+s也可以完全下载。下载是浏览器运行前端应用必要的一步,如果你是在考虑反爬文本内容的话,可以参考电子书网站的反爬机制

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

3 participants