Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

Commit 718f4e4

Browse files
committed
Fix the external script check
1 parent 8a9427e commit 718f4e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const extractScripts = (customjs, injections) => {
3737

3838
// Extra include
3939
(extra || '').split(';').map(x => x.trim()).forEach((line) => {
40-
if (line && line.substr(0, 1) !== '#') {
40+
if (line && line.startsWith('//')) {
4141
injections.add(line)
4242
}
4343
})

0 commit comments

Comments
 (0)