diff --git a/LunaTranslator/LunaTranslator/rendertext/exampleextrahtml.html b/LunaTranslator/LunaTranslator/rendertext/exampleextrahtml.html
index cd63012f..da98a35e 100644
--- a/LunaTranslator/LunaTranslator/rendertext/exampleextrahtml.html
+++ b/LunaTranslator/LunaTranslator/rendertext/exampleextrahtml.html
@@ -1,8 +1,14 @@
-
-
+
Hello, welcome to use LunaTranslator
+
\ No newline at end of file
diff --git a/LunaTranslator/LunaTranslator/rendertext/webview.py b/LunaTranslator/LunaTranslator/rendertext/webview.py
index 4e6d8c21..3d8bc873 100644
--- a/LunaTranslator/LunaTranslator/rendertext/webview.py
+++ b/LunaTranslator/LunaTranslator/rendertext/webview.py
@@ -113,8 +113,13 @@ class TextBrowser(QWidget, dataget):
self.webivewwidget.on_load.connect(self.__loadextra)
def __loadextra(self, _):
- if os.path.exists("userconfig/extrahtml.html"):
- with open("userconfig/extrahtml.html", "r", encoding="utf8") as ff:
+ for _ in [
+ "userconfig/extrahtml.html",
+ r"LunaTranslator\rendertext\exampleextrahtml.html",
+ ]:
+ if not os.path.exists(_):
+ continue
+ with open(_, "r", encoding="utf8") as ff:
self.set_extra_html(ff.read())
def debugeval(self, js):