Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load a invalid script but show load success? #121

Open
JackChanel opened this issue Jun 19, 2023 · 0 comments
Open

Load a invalid script but show load success? #121

JackChanel opened this issue Jun 19, 2023 · 0 comments

Comments

@JackChanel
Copy link

[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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant