-
Notifications
You must be signed in to change notification settings - Fork 496
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
Uncaught TypeError: Illegal invocation #130
Comments
可以给一个 codeSandBox 的复现 demo 看看吗 |
试了一下,没法复现 |
我可以复现,必须在Safari下面才行 |
应该是proxy了2次 |
我看了下得用 CDP 协议,这个有你完整的使用例子吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本:
https://unpkg.com/[email protected]/dist/ajaxhook.min.js
报错代码位置:
xhr-hook.js:46:14
this[attr] = hookFunction(attr);
堆栈
Uncaught TypeError: Illegal invocation
at new h (xhr-hook.js:46:14)
at n.ajax (signup?sru=https://login.live.com/oauth20_authorize.srf%3flc%3d2052%26client_id%3d0000000048170EF2%26mkt%3dZH-CN%26opid%3dD1332CFD16CBC4C5%26opidt%3d1702890355%26uaid%3dd7c14c115940410eb9beaf3fa55447e7%26contextid%3dE4421A3B5768AAFD%26opignore%3d1&mkt=ZH-CN&uiflavor=host&fl=wld&client_id=0000000048170EF2&noauthcancel=1&uaid=d7c14c115940410eb9beaf3fa55447e7&suc=0000000048170EF2:33:213)
at r.exec (datarequestpackage_h-_7C7UzwdefXJT9njDBTQ2.js?v=1:10:113)
at m (datarequestpackage_h-_7C7UzwdefXJT9njDBTQ2.js?v=1:2:178)
at g (datarequestpackage_h-_7C7UzwdefXJT9njDBTQ2.js?v=1:1:566)
The text was updated successfully, but these errors were encountered: