Skip to content

Exclude the 'javascript:;' from the next url #535

@kzhang-dsg

Description

@kzhang-dsg

Description
Some of the pagination libraries put 'javascript:;' in the next URL when reached to the last page. Currently, the library throws an error:

Access to XMLHttpRequest at 'javascript:;?1597427851817' from origin 'https://xxxxxx' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

Can we validate the next URL, if it is not a valid URL, consider it as a last page?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions