Frontmatter
| id | 8152 |
| title | Combine DomAccess.addScript and loadScript into a unified API |
| state | Open |
| labels | enhancementno auto closeairefactoringarchitecture |
| assignees | [] |
| createdAt | Dec 21, 2025, 12:37 PM |
| updatedAt | Mar 28, 2026, 6:55 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8152 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
Combine DomAccess.addScript and loadScript into a unified API
Openenhancementno auto closeairefactoringarchitecture
DomAccess.addScript()andDomAccess.loadScript()currently provide similar functionality but with different implementations and use cases.addScriptis exposed as a remote method, whileloadScriptis a local helper used by addons.We should merge these into a single, robust API that:
This is a technical debt cleanup task.