Skip to content

boss直聘拦截不了 #98

Open
Open
@keyiis

Description

它本身已对xhr做过一次代理

window._ahrealxhr = window._ahrealxhr || XMLHttpRequest,
        XMLHttpRequest = function() {
            for (var attr in this.xhr = new window._ahrealxhr,
            this.xhr) {
                var type = "";
                try {
                    type = _typeof(this.xhr[attr])
                } catch (e) {}
                "function" === type ? this[attr] = hookfun(attr) : Object.defineProperty(this, attr, {
                    get: getFactory(attr),
                    set: setFactory(attr)
                })
            }
        }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions