Skip to content

For Android browsers, browserponies should not run. #4

@teward

Description

@teward

As has been witnessed by myself on several different instances, there is a problem where browserponies is executed on Android and low-resource mobile devices.

Android phones and some tablets do not have the system resources to properly load or render Browser Ponies.

To that end, the code should check the user-agent string, and if the user agent string contains "Android" it should automatically unload the browserponies scripts from memory and not attempt to run.

The below code can be used to get the user agent string.

$('#UserAgent').val(navigator.userAgent);

From this, the scripts should then scan the string for "Android" and on a find of that, prevent the scripts from loading. This will prevent low-resource Android devices from loading browserponies and will prevent device lockups which require a complete power down (through battery removal or otherwise) to resolve the lockup.

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