mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-16 19:46:19 +02:00
fix js check
This commit is contained in:
@@ -1007,7 +1007,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
|
||||
'"></script>';
|
||||
}
|
||||
|
||||
if (js) {
|
||||
if (js !== undefined) {
|
||||
contents += '<script>\n' + js + '\n//# sourceURL=userscript.js';
|
||||
} else {
|
||||
var origin = chrome.i18n.getMessage()
|
||||
|
Reference in New Issue
Block a user