-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(zh): maintain redirected links (part 2) #22802
Conversation
Preview URLs (45 pages)
Flaws (752)URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
External URLs (122)URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
(comment last updated: 2024-08-01 02:50:51) |
@@ -192,7 +192,7 @@ async function foo() { | |||
} | |||
``` | |||
|
|||
這基於 Promise,例如 `doSomething()` 和之前一樣。你可以閱讀在[這裡](https://developers.google.com/web/fundamentals/getting-started/primers/async-functions)閱讀更多。 | |||
這基於 Promise,例如 `doSomething()` 和之前一樣。你可以閱讀在[這裡](https://web.dev/)閱讀更多。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the link was no longer maintained on google.com, and was redircted to web.dev's homepage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not agree with the change here. The page https://web.dev/
does not provide any information about Promise
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeap, while the original link neither - also the link was removed in mdn/content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這基於 Promise,例如 `doSomething()` 和之前一樣。你可以閱讀在[這裡](https://web.dev/)閱讀更多。 | |
這基於 Promise,例如 `doSomething()` 和之前一樣。你可以閱讀在[這裡](http://web.archive.org/web/20170808153026/https://developers.google.com/web/fundamentals/getting-started/primers/async-functions)閱讀更多。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or else this: https://web.dev/articles/async-functions
這基於 Promise,例如 `doSomething()` 和之前一樣。你可以閱讀在[這裡](https://web.dev/)閱讀更多。 | |
這基於 Promise,例如 `doSomething()` 和之前一樣。你可以閱讀在[這裡](https://web.dev/articles/async-functions)閱讀更多。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
files/zh-tw/web/javascript/javascript_technologies_overview/index.md
Outdated
Show resolved
Hide resolved
files/zh-tw/web/javascript/javascript_technologies_overview/index.md
Outdated
Show resolved
Hide resolved
files/zh-tw/web/javascript/reference/errors/redeclared_parameter/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||
雖然並未完全可靠,使用 JavaScript 函式庫是解決跨瀏覽器相容問題的最普遍方式。 這些函式庫將 DOM 的功能抽象化,確保其 API 在不同的瀏覽器中能以相似的方式運作。廣為被使用的框架包括 [jQuery](http://jquery.com/)、[prototype](http://www.prototypejs.org/) 和 [YUI](http://developer.yahoo.com/yui/)。 | ||
雖然並未完全可靠,使用 JavaScript 函式庫是解決跨瀏覽器相容問題的最普遍方式。 這些函式庫將 DOM 的功能抽象化,確保其 API 在不同的瀏覽器中能以相似的方式運作。廣為被使用的框架包括 [jQuery](https://jquery.com/)、[prototype](http://prototypejs.org/) 和 [YUI](https://developer.yahoo.com/yui/)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最后一个雅虎的链接也没法打开了
|
||
```sh | ||
node --expose-gc --inspect index.js | ||
``` | ||
|
||
## 參見 | ||
|
||
- [IBM article on "Memory leak patterns in JavaScript" (2007)](http://www.ibm.com/developerworks/web/library/wa-memleak/) | ||
- [Kangax article on how to register event handler and avoid memory leaks (2010)](http://msdn.microsoft.com/en-us/magazine/ff728624.aspx) | ||
- [IBM article on "Memory leak patterns in JavaScript" (2007)](https://developer.ibm.com/technologies/web-development/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
链接失效
\[1] 一些瀏覽器在解析日期時間會發生問題: [3/14/2012 blog from danvk Comparing FF/IE/Chrome on Parsing Date Strings](https://dygraphs.com/date-formats.html) | ||
|
||
\[2] [ISO8601 Date Format is not supported](<https://msdn.microsoft.com/en-us//library/ie/ff743760(v=vs.94).aspx>) in Internet Explorer 8, and other version can have [issues when parsing dates](http://dygraphs.com/date-formats.html) | ||
\[2] [ISO8601 Date Format is not supported](<https://msdn.microsoft.com/en-us//library/ie/ff743760(v=vs.94).aspx>) in Internet Explorer 8, and other version can have [issues when parsing dates](https://dygraphs.com/date-formats.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已过时
files/zh-tw/web/opensearch/index.md
Outdated
@@ -129,7 +129,7 @@ OpenSearch 描述檔能[從網頁安裝搜尋模組](#自動測知搜尋模組) | |||
``` | |||
|
|||
> [!NOTE] | |||
> 目前的 [addons.mozilla.org](https://addons.mozilla.org)(AMO)不支援自動更新 OpenSearch 套件。如果要把搜尋套件放到 AMO,請不要用上自動更新的功能。 | |||
> 目前的 [addons.mozilla.org](https://addons.mozilla.org/en-US/firefox/)(AMO)不支援自動更新 OpenSearch 套件。如果要把搜尋套件放到 AMO,請不要用上自動更新的功能。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
撤销
|
||
下面是一些能跨來源嵌入的資源: | ||
|
||
- `<script src="…"></script>` 內的 JavaScript,但語法錯誤訊息只限於同源程式碼腳本。 | ||
- CSS 的 `<link rel="stylesheet" href="...">`,由於 CSS 寬鬆語法規則,跨來源 CSS 要求正確的 Content-Type 標頭。限制在瀏覽器間各有差異: [IE](http://msdn.microsoft.com/en-us/library/ie/gg622939%28v=vs.85%29.aspx), [Firefox](http://www.mozilla.org/security/announce/2010/mfsa2010-46.html), [Chrome](http://code.google.com/p/chromium/issues/detail?id=9877), [Safari](http://support.apple.com/kb/HT4070) (請至 CVE-2010-0051)以及[Opera](http://www.opera.com/support/kb/view/943/). | ||
- CSS 的 `<link rel="stylesheet" href="...">`,由於 CSS 寬鬆語法規則,跨來源 CSS 要求正確的 Content-Type 標頭。限制在瀏覽器間各有差異: [IE](<https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/gg622939(v=vs.85)>), [Firefox](https://www.mozilla.org/en-US/security/advisories/mfsa2010-46/), [Chrome](https://bugs.chromium.org/p/chromium/issues/detail?id=9877), [Safari](https://support.apple.com/en-us/104158) (請至 CVE-2010-0051)以及[Opera](http://www.opera.com/support/kb/view/943/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请考虑链接的本地化
这些连接都用的是 Python |
你用的脚本是存在缺陷的,URL 替换时请使用完整的 URL 进行匹配部分匹配的 URL 不应被直接替换,示例如下: |
URL的匹配是个确实不太完善的RegExp,在想办法改进 |
The PR is generated automatically and inspected manually. part 2/24.