From eb58e5f49ea9cc9ece892bd8972b306bce55b88d Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sun, 29 Dec 2019 14:59:20 +0800 Subject: [PATCH] Use URL API --- waifu-tips.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/waifu-tips.js b/waifu-tips.js index 5f2a9a7..30704f9 100755 --- a/waifu-tips.js +++ b/waifu-tips.js @@ -6,7 +6,7 @@ function loadWidget(waifuPath, apiPath) { localStorage.removeItem("waifu-display"); sessionStorage.removeItem("waifu-text"); - document.body.insertAdjacentHTML('beforeend', `