Skip to content

Faster WebKit detection #7

@niutech

Description

@niutech

Instead of adding a whole $.browser function, you could replace it with a one-liner:

/webkit/.test(navigator.userAgent.toLowerCase());

It will be faster and smaller in terms of bytes.

Metadata

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