aboutsummaryrefslogtreecommitdiff
path: root/yomichan/userscript-loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'yomichan/userscript-loader.js')
-rw-r--r--yomichan/userscript-loader.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/yomichan/userscript-loader.js b/yomichan/userscript-loader.js
new file mode 100644
index 0000000..b9d9120
--- /dev/null
+++ b/yomichan/userscript-loader.js
@@ -0,0 +1,6 @@
+(async () => eval((await yomichan.api.getSettings([{
+ scope: "profile",
+ optionsContext: { current: true },
+ path: 'general.userScript'
+}]))[0].result))();
+