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

js用webpack打包后Sniffer是不是检测不出来? #63

Open
ibufu opened this issue Feb 22, 2016 · 2 comments
Open

js用webpack打包后Sniffer是不是检测不出来? #63

ibufu opened this issue Feb 22, 2016 · 2 comments
Labels

Comments

@ibufu
Copy link

ibufu commented Feb 22, 2016

No description provided.

@justjavac
Copy link
Owner

插件使用多种检测方式,比如 jQuery 使用 window.jQuery 来检测,因为 jQuery 库会在全局对象 window 上注册一个名为 jQuery 的属性。

也有一些库和框架,是通过引入的文件来检测,会造成结果的不准确。

@axetroy
Copy link
Contributor

axetroy commented Jun 5, 2016

有一些是无法检测到的。
比如promise的Q库,通过webpack,或者其他打包工具require进来的。
就不存在全局对象。
没办法通过window.xx来检测

@justjavac justjavac added the bug label Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants