搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Change default display for text only page (turn OFF "Wrap Long lines")

  • 2 个回答
  • 4 人有此问题
  • 2 次查看
  • 最后回复者为 anev942

more options

New Firefox user. Frequently I visit text only page- data strings are quite long. The default view for text only appears to be "Wrap Long Lines", which defeats the sorted information by line. Fortunately I found Page Style under View when I turned on Menu Bar. But when I revisit or refresh the page it defaults back to the word wrap, its getting old. Is there a way to change the default to "Basic page style"..or turn off word wrap, permanently. I looked under options but just havent seen a way to change this. Thanks

New Firefox user. Frequently I visit text only page- data strings are quite long. The default view for text only appears to be "Wrap Long Lines", which defeats the sorted information by line. Fortunately I found Page Style under View when I turned on Menu Bar. But when I revisit or refresh the page it defaults back to the word wrap, its getting old. Is there a way to change the default to "Basic page style"..or turn off word wrap, permanently. I looked under options but just havent seen a way to change this. Thanks

被采纳的解决方案

Well month past -I found setting! I appreciate the response. I played with the suggested workarounds for several hours with some very limited results (none really solving but learned a bit). I gave up -mostly not knowing what the heck I was doing. Was becoming more effort than clicking on page display & turning off word wrap :), thinking I'd get back to it... Then Mozilla upgraded... Searching for more critical fixes (firefox memory usage just keeps climbing) stumbled on a few ideas, still working on that. However one suggestion led me into about:config. Opening another tab & looking thru the list found plain_text.wrap_long_lines default boolean true I double clicked on it (or right click and select toggle) changed it to plain_text.wrap_long_lines user set boolean false WALA! Default page view for text is now 'Basic Page Style' not 'Wrap Long Lines'. Turning on word wrap is now the option. Cool. For viewing long data fields- nice. No more menu-View-Page Style-Basic Page Style repeatedly during session.

定位到答案原位置 👍 1

所有回复 (2)

more options

You could use the userContent.css to set a CSS rule for that domain. You would have to check via the Inspector what selector(s) you need to use on each website (#id or .classname).

@-moz-document domain(<domain>){
 selector { white-space:normal!important; word-wrap:break-word!important; }
}

See:

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.


  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userContent.css file in the editor window
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file
more options

选择的解决方案

Well month past -I found setting! I appreciate the response. I played with the suggested workarounds for several hours with some very limited results (none really solving but learned a bit). I gave up -mostly not knowing what the heck I was doing. Was becoming more effort than clicking on page display & turning off word wrap :), thinking I'd get back to it... Then Mozilla upgraded... Searching for more critical fixes (firefox memory usage just keeps climbing) stumbled on a few ideas, still working on that. However one suggestion led me into about:config. Opening another tab & looking thru the list found plain_text.wrap_long_lines default boolean true I double clicked on it (or right click and select toggle) changed it to plain_text.wrap_long_lines user set boolean false WALA! Default page view for text is now 'Basic Page Style' not 'Wrap Long Lines'. Turning on word wrap is now the option. Cool. For viewing long data fields- nice. No more menu-View-Page Style-Basic Page Style repeatedly during session.

由anev942于修改