Deploying to gh-pages from @ fishjar/kiss-translator@e1dfa35c6c 🚀

This commit is contained in:
fishjar
2025-07-22 16:41:16 +00:00
parent 86169089ca
commit 5441473be4
10 changed files with 2047 additions and 1786 deletions

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
@@ -16,7 +16,7 @@
} }
</style> </style>
<script> <script>
document.addEventListener("DOMContentLoaded", function () { document.addEventListener('DOMContentLoaded', function () {
// (() => { // (() => {
// var shadow = document.querySelector("#shadow1"); // var shadow = document.querySelector("#shadow1");
// var root = shadow.attachShadow({ mode: "open" }); // var root = shadow.attachShadow({ mode: "open" });
@@ -54,8 +54,8 @@
// }, 1000); // }, 1000);
setTimeout(function () { setTimeout(function () {
var el = document.querySelector("h2>p>span"); var el = document.querySelector('h2>p>span');
el.innerText = "hello world"; el.innerText = 'hello world';
}, 1000); }, 1000);
}); });
</script> </script>
@@ -105,28 +105,26 @@
<br /> <br />
<div id="content"> <div id="content">
<p>You need to enable JavaScript to run <span>this app.</span></p> <p>You need to enable JavaScript to run <span>this app.</span></p>
The <span>embargo</span> has just lifted to confirm that AmpereOne is The <span>embargo</span> has just lifted to confirm that AmpereOne is coming to
coming to Google Cloud with the C3A instances. Google Cloud with the C3A instances.
<br /> <br />
But these upcoming instances for now are only in private preview form. But these upcoming instances for now are only in private preview form.
<br /> <br />
<br /> <br />
Needless to say I also haven't had any AmpereOne access to check out the Needless to say I also haven't had any AmpereOne access to check out the
performance and power efficiency of these new Arm server processors from performance and power efficiency of these new Arm server processors from Ampere
Ampere Computing. Computing.
<br /> <br />
</div> </div>
<h2> <h2>
<p> <p>
<span <span>React is a JavaScript library for building user interfaces.</span>
>React is a JavaScript library for building user interfaces.</span
>
</p> </p>
</h2> </h2>
<hr /> <hr />
<input id="input1" style="width: 80%;" /> <input id="input1" style="width: 80%" />
<hr /> <hr />
<textarea id="textarea1" style="width: 80%;">test</textarea> <textarea id="textarea1" style="width: 80%">test</textarea>
<hr /> <hr />
<div id="addtitle"></div> <div id="addtitle"></div>
<h2>Shadow 1</h2> <h2>Shadow 1</h2>
@@ -166,15 +164,47 @@
<br /> <br />
<br /> <br />
<h2> <h2>
React Server Components (or RSC) is a new application architecture React Server Components (or RSC) is a new application architecture designed by the
designed by the React team. React team.
</h2> </h2>
<iframe <iframe
id="iframe1" id="iframe1"
width="800px" width="800px"
height="600px" height="600px"
src="http://localhost:3000/index.html" src="http://localhost:3000/index.html"></iframe>
></iframe> <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<h2>Weve first shared our research on RSC in an introductory talk and an RFC.</h2>
<br /> <br />
<br /> <br />
<br /> <br />
@@ -208,52 +238,10 @@
<br /> <br />
<br /> <br />
<h2> <h2>
Weve first shared our research on RSC in an introductory talk and an To recap them, we are introducing a new kind of component—Server Components—that
RFC. run ahead of time and are excluded from your JavaScript bundle.
</h2> </h2>
<br /> <iframe id="iframe2" width="800px" height="600px" src="https://react.dev/"></iframe>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<h2>
To recap them, we are introducing a new kind of component—Server
Components—that run ahead of time and are excluded from your JavaScript
bundle.
</h2>
<iframe
id="iframe2"
width="800px"
height="600px"
src="https://react.dev/"
></iframe>
<br /> <br />
<br /> <br />
<br /> <br />
@@ -288,15 +276,14 @@
<br /> <br />
<div class="cont cont1"> <div class="cont cont1">
<h2> <h2>
Server Components can run during the build, letting you read from the Server Components can run during the build, letting you read from the filesystem
filesystem or fetch static content. or fetch static content.
</h2> </h2>
<ul> <ul>
<li> <li>
They can also run on the server, letting you access your data layer They can also run on the server, letting you access your data layer without
without having to build an API. You can pass data by props from having to build an API. You can pass data by props from Server Components to
Server Components to the interactive Client Components in the the interactive Client Components in the browser.
browser.
</li> </li>
<li>以声明式编写 UI可以让你的代码更加可靠且方便调试。</li> <li>以声明式编写 UI可以让你的代码更加可靠且方便调试。</li>
</ul> </ul>
@@ -315,14 +302,14 @@
<br /> <br />
<div class="cont cont2"> <div class="cont cont2">
<h2> <h2>
Since our last update, we have merged the React Server Components RFC Since our last update, we have merged the React Server Components RFC to ratify
to ratify the proposal. the proposal.
</h2> </h2>
<ul> <ul>
<li> <li>
RSC combines the simple “request/response” mental model of RSC combines the simple “request/response” mental model of server-centric
server-centric Multi-Page Apps with the seamless interactivity of Multi-Page Apps with the seamless interactivity of client-centric Single-Page
client-centric Single-Page Apps, giving you the best of both worlds. Apps, giving you the best of both worlds.
</li> </li>
<li> <li>
React 使创建交互式 UI React 使创建交互式 UI

File diff suppressed because one or more lines are too long

View File

@@ -19,6 +19,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -47,6 +48,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -75,6 +77,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -103,6 +106,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".t-content>div>ul>li", "fixerSelector": ".t-content>div>ul>li",
@@ -131,6 +135,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "div[data-message-author-role='user'] > div", "fixerSelector": "div[data-message-author-role='user'] > div",
@@ -159,6 +164,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".post-content, .post-content > span, li > span", "fixerSelector": ".post-content, .post-content > span, li > span",
@@ -187,6 +193,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -215,6 +222,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -243,6 +251,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -271,6 +280,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -299,6 +309,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -327,6 +338,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -355,6 +367,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -383,6 +396,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -411,6 +425,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -439,6 +454,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -467,6 +483,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -495,6 +512,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "span.post", "fixerSelector": "span.post",
@@ -523,6 +541,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -551,6 +570,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -579,6 +599,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -607,6 +628,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -635,6 +657,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -663,6 +686,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".a3s.aiL", "fixerSelector": ".a3s.aiL",
@@ -691,6 +715,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -719,6 +744,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".sc-cTsKDU", "fixerSelector": ".sc-cTsKDU",
@@ -747,6 +773,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".toptext, .commtext", "fixerSelector": ".toptext, .commtext",
@@ -775,6 +802,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -803,6 +831,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -831,6 +860,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -859,6 +889,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "[data-g-id=\"description\"]", "fixerSelector": "[data-g-id=\"description\"]",
@@ -887,6 +918,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -915,6 +947,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -943,6 +976,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -971,6 +1005,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".tgme_widget_message_text", "fixerSelector": ".tgme_widget_message_text",
@@ -999,6 +1034,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1027,6 +1063,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1055,6 +1092,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1083,6 +1121,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".postcontent", "fixerSelector": ".postcontent",
@@ -1111,6 +1150,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".text-content", "fixerSelector": ".text-content",
@@ -1139,6 +1179,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".message", "fixerSelector": ".message",
@@ -1167,6 +1208,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1195,6 +1237,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1223,6 +1266,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1251,6 +1295,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1279,6 +1324,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1307,6 +1353,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1335,6 +1382,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1363,6 +1411,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1391,6 +1440,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1419,6 +1469,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1447,6 +1498,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1475,6 +1527,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1503,6 +1556,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1531,6 +1585,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1559,6 +1614,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1587,6 +1643,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1615,6 +1672,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1643,6 +1701,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1671,6 +1730,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": ".content", "fixerSelector": ".content",
@@ -1699,6 +1759,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1727,6 +1788,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1755,6 +1817,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1783,6 +1846,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1811,6 +1875,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1839,6 +1904,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1867,6 +1933,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",
@@ -1895,6 +1962,7 @@
"transTiming": "*", "transTiming": "*",
"transTag": "*", "transTag": "*",
"transTitle": "*", "transTitle": "*",
"transSelected": "*",
"detectRemote": "*", "detectRemote": "*",
"skipLangs": [], "skipLangs": [],
"fixerSelector": "", "fixerSelector": "",

File diff suppressed because one or more lines are too long

325
main.js

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "__MSG_app_name__", "name": "__MSG_app_name__",
"description": "__MSG_app_description__", "description": "__MSG_app_description__",
"version": "1.8.11", "version": "1.9.0",
"default_locale": "en", "default_locale": "en",
"author": "Gabe<yugang2002@gmail.com>", "author": "Gabe<yugang2002@gmail.com>",
"homepage_url": "https://github.com/fishjar/kiss-translator", "homepage_url": "https://github.com/fishjar/kiss-translator",

View File

@@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "__MSG_app_name__", "name": "__MSG_app_name__",
"description": "__MSG_app_description__", "description": "__MSG_app_description__",
"version": "1.8.11", "version": "1.9.0",
"default_locale": "en", "default_locale": "en",
"author": "Gabe<yugang2002@gmail.com>", "author": "Gabe<yugang2002@gmail.com>",
"homepage_url": "https://github.com/fishjar/kiss-translator", "homepage_url": "https://github.com/fishjar/kiss-translator",
@@ -45,12 +45,7 @@
"description": "__MSG_open_options__" "description": "__MSG_open_options__"
} }
}, },
"permissions": [ "permissions": ["storage", "contextMenus", "scripting", "declarativeNetRequest"],
"storage",
"contextMenus",
"scripting",
"declarativeNetRequest"
],
"host_permissions": ["<all_urls>"], "host_permissions": ["<all_urls>"],
"icons": { "icons": {
"16": "images/logo16.png", "16": "images/logo16.png",

78
manifest.thunderbird.json Normal file
View File

@@ -0,0 +1,78 @@
{
"manifest_version": 2,
"name": "__MSG_app_name__",
"description": "__MSG_app_description__",
"version": "1.9.0",
"default_locale": "en",
"author": "Gabe<yugang2002@gmail.com>",
"homepage_url": "https://github.com/fishjar/kiss-translator",
"browser_specific_settings": {
"gecko": {
"id": "yugang2002@gmail.com",
"strict_min_version": "78.0"
}
},
"background": {
"scripts": ["background.js"]
},
"content_scripts": [
{
"js": ["content.js"],
"matches": ["<all_urls>"],
"all_frames": true
}
],
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+K"
}
},
"toggleTranslate": {
"suggested_key": {
"default": "Alt+Q"
},
"description": "__MSG_toggle_translate__"
},
"openTranbox": {
"suggested_key": {
"default": "Alt+S"
},
"description": "__MSG_open_tranbox__"
},
"toggleStyle": {
"suggested_key": {
"default": "Alt+C"
},
"description": "__MSG_toggle_style__"
},
"openOptions": {
"description": "__MSG_open_options__"
}
},
"permissions": [
"<all_urls>",
"storage",
"menus",
"messagesModify",
"scripting",
"declarativeNetRequest"
],
"icons": {
"16": "images/logo16.png",
"32": "images/logo32.png",
"48": "images/logo48.png",
"128": "images/logo128.png"
},
"browser_action": {
"default_icon": {
"128": "images/logo128.png"
},
"default_title": "__MSG_app_name__",
"default_popup": "popup.html"
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
}
}

1208
options.js

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
1.8.11 1.9.0