document.currentScriptExternal Link

Baseline status unknown

This feature is not covered by web-features yet, so its Baseline status is unknown.

document.currentScript returns the `` element whose script is currently being processed.

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 97.4% of all users can use this feature, 97.4% fully supported, 0% partially supported
✓Supported
✗Not supported
Partial support