userscript...

This commit is contained in:
Gabe Yuan
2023-08-05 20:21:45 +08:00
parent b5f1da18a6
commit cc04e817da
3 changed files with 8 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ import { Translator } from "./libs/translator";
*/
(async () => {
// 设置页面
if (document.location.href.includes("localhost:3000")) {
if (document.location.href.includes("kiss-translator-options")) {
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<React.StrictMode>