aijinhui
2024-01-11 33d0ed6367f2ff3cfb80a0d5ff0a8367a660dac3
1
2
3
4
5
6
7
if (!('currentScript' in document)) {
  Object.defineProperty(document, 'currentScript', { get: window.getCurrentScript })
}
 
if (document.currentScript) {
  document.getElementById('app').textContent = 'It works!'
}