(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43602688

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 无需 JavaScript 即可隐藏需要 JavaScript 的元素 (0xda.de) 12 分,来自 mtlynch,1 小时前 | 隐藏 | 过去 | 收藏 | 1 评论 kaszus 5 分钟前 [–] 现在也有 CSS media 可以检测是否启用了 JavaScript。 大多数主流浏览器的最新两个版本都支持此功能。https://developer.mozilla.org/en-US/docs/Web/CSS/@media/scri... 回复 加入我们 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

相关文章

原文
Hacker News new | past | comments | ask | show | jobs | submit login
Hiding elements that require JavaScript without JavaScript (0xda.de)
12 points by mtlynch 1 hour ago | hide | past | favorite | 1 comment










There is also CSS media now to detect if is enabled or not. It' s supported in last 2 versions of most popular browsers.

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/scri...







Join us for AI Startup School this June 16-17 in San Francisco!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com