From b673866848b5d46928886fb91056dbd973ab9c27 Mon Sep 17 00:00:00 2001 From: cilame Date: Thu, 29 Sep 2022 01:44:09 +0800 Subject: [PATCH] add --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 9a8f74c..b42d576 100644 --- a/background.js +++ b/background.js @@ -269,7 +269,7 @@ function get_html(url){ json_obj[keys[i]] = {} json_obj[keys[i]].type = json[keys[i]].type json_obj[keys[i]].func = `vilame_run${i}` - func_str += script_escape(`vilame_json['vilame_run${i}'] = function (){${json_obj[keys[i]].data}}`) + '\n' + func_str += script_escape(`vilame_json['vilame_run${i}'] = function (){${json[keys[i]].data}}`) + '\n' } } var insert_code = `