网页本身有什么方法可以关闭 iPad Safari 中的拼写检查吗?

发布于 2024-09-10 20:31:18 字数 651 浏览 2 评论 0原文

我的应用程序是一个古籍全文搜索界面。输入的总是一个古老的单词。 iPad Safari 坚持指出它的拼写不正确——对于现代英语来说,事实并非如此。

Chrome 遵循这一点,iPad Safari 则不然:

  <input type="text" spellcheck="false" >

Safari 有类似的东西吗?我认为用户可以在 iPad 上全局关闭拼写检查,但他们不必这样做才能使用我的网络应用程序。

 <RANT> 
   I'm getting pretty fed up with all of this "built-in so-called intelligence" which is based
   on a very narrow set of assumptions about what the user is actually doing with the browser. 
 </RANT>

正如哈姆雷特对霍雷肖所说:

 There are more things in heaven and earth, Horatio,
 Than are dreamt of in your philosophy.

My app is a full-text search interface for ancient texts. The input is always going to be an ancient word. iPad Safari insists on pointing out that it is not correctly spelled -- for modern English, which it ain't.

Chrome honors this, iPad Safari does not:

  <input type="text" spellcheck="false" >

Is there something analogous for Safari? I think the user can turn off spellcheck globally on the iPad but they shouldn't have to do so to work with my web-app.

 <RANT> 
   I'm getting pretty fed up with all of this "built-in so-called intelligence" which is based
   on a very narrow set of assumptions about what the user is actually doing with the browser. 
 </RANT>

As Hamlet says to Horatio:

 There are more things in heaven and earth, Horatio,
 Than are dreamt of in your philosophy.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

风情万种。 2024-09-17 20:31:18

发现:自动更正=关闭

Found : autocorrect=off

她如夕阳 2024-09-17 20:31:18

听起来好像 Safari 3 最初不支持“拼写检查”属性(来自错误票 http://bugs.webkit.org/show_bug.cgi?id=14552)。

但看起来他们在后续版本中修复了它 - 我可以看到它在我的桌面版本 4.0.5 上工作正常。

我的猜测是 iPad 版本的 Safari 还不够更新,无法进行此修复,但我认为它很快就会发布!

It sounds as though the 'spellcheck' property was unsupported initially in Safari 3 (from the bug ticket http://bugs.webkit.org/show_bug.cgi?id=14552).

But it looks as though they fixed it in a subsequent version - I can see that it's working okay on my Desktop version 4.0.5.

My guess is that the iPad version of Safari isn't up to date enough for this fix, but I presume it will come soon!

分開簡單 2024-09-17 20:31:18

您是否尝试过指定您期望的输入语言?

<input type="text" lang="enm">

Enm 是中古英语(1100-1500),或者您可以尝试 ang,它是古英语(约 450-1100)。我预计 iPad 上也没有词典,但你永远不知道。 完整标签列表位于此处此处介绍语言标签

Have you tried specifying the input language you're expecting?

<input type="text" lang="enm">

Enm is Middle English (1100-1500), or you could try ang which is Old English (ca. 450-1100). I'm expecting iPad doesn't have a dictionary for either, but you never know. Full list of tags is here, introduction to language tags here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文