Skip to content

Load a invalid script but show load success? #121

Description

@JackChanel

[In vue]
import scriptjs from 'scriptjs'

scriptjs(
'https://accounts.googlesss.com/gsi/clientcc',
function () {
console.log('js loaded and executed!')
resolve(true)
},
function () {
console.log('fail to load js')
reject(false)
}
)

you know that this url is invalid, but it gose 'js loaded and executed'
It really works?

Activity

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

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