Load a invalid script but show load success?
Opened this issue · 0 comments
JackChanel commented
[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?