postmessage icon indicating copy to clipboard operation
postmessage copied to clipboard

跨域 hash 传递是否有问题

Open jimwmg opened this issue 2 years ago • 0 comments

// bust parameter is added to ensure that repeat messages trigger the callback. target.location = target_url.replace(/#.*$/, '') + '#' + (+new Date) + (cache_bust++) + '&' + message; //这里跨域的时候应该有问题吧 是不是应该 target.src = "xxxx"

jimwmg avatar Oct 20 '22 06:10 jimwmg