google-chrome - chrome 浏览器中 url 的最大长度

标签 google-chrome url browser

我见过这个流行的问题:

What is the maximum length of a URL in different browsers?

但是由于我无法直接找到对 Google Chrome 的引用(并且由于大多数答案是在几年前给出的),我想知道 Google Chrome 浏览器当前的 URL 长度限制是什么?

最佳答案

我相信它保持不变:

I could not find any limits on Chrome and Safari. Both are based on WebKit and it seems to have similar limits as Firefox has.

Firefox stops displaying after 64k characters, but can serve more than 100k characters.


您可以阅读更多相关信息 in this article.
一般来说,URL 的长度没有“限制”,但 this answer声明您应该将您的 URL 保持在 2048 个字符以下,以确保它在每个客户端和服务器上都能正常工作。
More information about all browsers here.

关于google-chrome - chrome 浏览器中 url 的最大长度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15090220/

相关文章:

html - 表格内div的自动1px宽度

html - 为什么 css 表中的非单元格 div 在 chrome 中具有非零宽度?

php - 在 mysql 上使用 AES 加密,最短 URL

url - 一个 URL 中包含多个问号是否有效?

javascript - 将 Javascript 代码发送到浏览器

c# - XBAP 中的键盘快捷键

google-chrome - Threejs 加载器在 Chrome 中无法工作

java - PrimeFaces 验证码未在 Chrome 下显示

Python script.py 文件 url 参数

.net - 打开默认网络浏览器