-
|
I'm building a website/tool for immersion. On just this website/tool, I don't want yomitan to run because I want to re-use the same shift-down key-press to activate a custom embedded popup dictionary with other custom features/integrations. I want this to be the default option for other people using the tool too, not just me. So I'm wondering is there any way to tell yomitan to not execute on this page? Maybe by adding some kind of HTML element or setting a JavaScript global variable, etc? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Put your entire site inside a closed shadow dom. This will disallow the use of all outside scripts. |
Beta Was this translation helpful? Give feedback.
-
|
As a user, personally I wouldn't like it if a website disabled my extensions without asking. You could recommend that users disable it, and it just takes two clicks to do so. |
Beta Was this translation helpful? Give feedback.
Put your entire site inside a closed shadow dom. This will disallow the use of all outside scripts.