From a348fec5f39fdec1df8b4aa0899a1d0e4d7f7d35 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Feb 2023 16:03:16 +0000 Subject: [PATCH] add custom js :3 --- css/custom-css.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/css/custom-css.js b/css/custom-css.js index cf019cf5..e1f0b17d 100644 --- a/css/custom-css.js +++ b/css/custom-css.js @@ -14,4 +14,9 @@ if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); -} \ No newline at end of file +} + +var script_tag = document.createElement('script'); +script_tag.type = 'text/javascript'; +script_tag.text = localStorage.getItem("poke-custom-script"); +document.head.appendChild(script_tag);