diff --git a/src/apps/ad_js.php b/src/apps/ad_js.php
index 07a55716..280fb3fe 100755
--- a/src/apps/ad_js.php
+++ b/src/apps/ad_js.php
@@ -29,7 +29,7 @@ if (isset($nocache) || !file_exists($cacheFile) || time() - filemtime($cacheFile
     $adbody = str_replace('"', '\"', $adbody);
     $adbody = str_replace("\r", "\\r", $adbody);
     $adbody = str_replace("\n", "\\n", $adbody);
-    $adbody = "document.write(\"{$adbody}\");";
+    $adbody = "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
     $fp = fopen($cacheFile, 'w');
     fwrite($fp, $adbody);
     fclose($fp);
diff --git a/src/apps/mytag_js.php b/src/apps/mytag_js.php
index fe06f56d..a4a28382 100755
--- a/src/apps/mytag_js.php
+++ b/src/apps/mytag_js.php
@@ -18,7 +18,7 @@ if (isset($nocache) || !file_exists($cacheFile) || time() - filemtime($cacheFile
     $pv = new PartView();
     $row = $pv->dsql->GetOne("SELECT * FROM `#@__mytag` WHERE aid='$aid' ");
     if (!is_array($row)) {
-        $myvalues = "<!--document.write('Not found input!');-->";
+        $myvalues = "<!--\r\ndocument.write('Not found input!');\r\n-->";
     } else {
         $tagbody = '';
         if ($row['timeset'] == 0) {
@@ -37,7 +37,7 @@ if (isset($nocache) || !file_exists($cacheFile) || time() - filemtime($cacheFile
         $myvalues = str_replace("\r", "\\r", $myvalues);
         $myvalues = str_replace("\n", "\\n", $myvalues);
         $myvalues = str_replace("<?", "", $myvalues);
-        $myvalues =  "<!--document.write(\"{$myvalues}\");-->";
+        $myvalues =  "<!--\r\ndocument.write(\"{$myvalues}\");\r\n-->\r\n";
         file_put_contents($cacheFile, $myvalues);
     }
 }
diff --git a/src/data/admin/ver.txt b/src/data/admin/ver.txt
index e8a240e3..b70588f9 100644
--- a/src/data/admin/ver.txt
+++ b/src/data/admin/ver.txt
@@ -1 +1 @@
-20240101
\ No newline at end of file
+20240601
\ No newline at end of file