firefox.net.cn帖子页面不被撑宽样式

Added by hzhbest@userstyles, Created: Nov 17, 2009, Updated: Nov 18, 2009
  • With the style applied (Generated screenshot)
  • Without the style applied (Generated screenshot)

Description:

让“Mozilla 中文社区”论坛帖子页面不被撑宽的样式,支持 firefox.net.cn 和 mozcn.org 新旧域名。

解释:前两行将帖子中的 UA 字符串折行;三四两行将图片宽度上限限制为 600 像素(或按需自行调整),并仅在图片上按下鼠标左键时回复完整大小,松开则变回 600 像素;最后一行让鼠标指针移到帖子正文的图片上时显示为放大镜指针,由于没针对性,默认注释掉。

===
另外,除了 UA 和图片,帖子中无空格字符(white space)分隔的字符串也会撑宽页面,这个对 Firefox 来说目前没有 CSS 样式解决办法,只能用 js 。具体请参考原帖:
http://www.firefox.net.cn/forum/viewtopic.php?t=26164

Installs:
Applies to:
www.firefox.net.cn, www.mozcn.org
License:
CC0 1.0 Universal.
hzhbest@userstyles has waived all copyright and related or neighboring rights to firefox.net.cn帖子页面不被撑宽样式, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.