Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

[[1](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L7-L15)][[2](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L400-L470)]:Remember to rename the sample classes to something that makes sense to your plugin. If there are any errors, Obsidian will spit out this class name, so this will be important for users to debug if they need to.

[[1](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L86)][[2](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L87)][[3](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L90)][[4](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L95)][[5](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L96)][[6](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L97)][[7](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L98)][[8](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L105)][[9](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L106)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L247)][[2](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L277)][[3](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L278)][[4](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L356)]:You should change all instances of `var` to either `const` or `let`. `var` has function-level scope, so it can easily lead to bugs if you're not careful. Here's a pretty good guide with examples of why not to use `var`: [why `var` is obsolete](https://javascript.plainenglish.io/4-reasons-why-var-is-considered-obsolete-in-modern-javascript-a30296b5f08f)



---

[[1](https://github.com/Coduhuey/ChatGPT-Prompt-Plugin-For-Obsidian/blob/6a7f3e0660b4702877fa42603fa055bfb830ee34/main.ts#L304-L316)]:Obsidian provides the [`requestUrl`](https://docs.obsidian.md/Reference/TypeScript+API/requestUrl) method, it will make sure that network requests work on every plattform.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes, the bot will reevaluate your PR within 6 hours.
If you think some of these results are incorrect, please include `/skip` in your comment and the reason why you think the results are incorrect.
