본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Odd "Reader View" behavior

  • 1 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: guigs

more options

I was viewing an HTML file that is located on my local hard drive. The page is basically a list of HTML links.

While viewing the page, I noticed the (gray) "Reader View" icon/control in the "Address Bar", and I clicked the "Reader View" icon.

Here's what happened next:

1) The page display went nearly blank.

  • Along the left edge (vertically), the "Exit Reader View" and "Adjust the text size" icons/controls are shown.
  • Along the top of the page, a border/panel is shown, about 1.5 to 2 cm high.
  • About 1.5 to 2 cm below that, a "largish" rectangle icon with a styled circle inside was shown.

I have attached an image of how this looks.


2) After a short time, probably less than one-half second:

  • The "Exit Reader View" and "Adjust the text size" icons/controls disappeared.
  • The border/panel, and the rectangle icon disappeared.

3) At this point, the page was totally blank.

4) I then noticed that the "Address Bar" was totally empty.

  • The "History" and the "Refresh" icons/controls were shown at the right end of the "Address Bar".
  • The "Reader View" icon/control was no longer shown.
  • The URL to the page I was viewing was no longer shown.

5) If I click the "Back" button:

  • The URL to the page I was viewing is briefly shown in the "Address Bar".
  • The "Reader View" icon/control is briefly shown in the address bar (Orange).
  • The above behavior (#1-#4) repeats, and I am back to a blank page display and an empty "Address Bar".

If I go further back in the tab "History", I can view my original page.

Should I report this as a bug?

It would be great if someone else could try this to see if it happens to them, particularly on the current version of Firefox.




The content of the local HTML file is unimportant, but it seems that at least on a fairly small file, in order to get the "Reader View" icon/control to show in the "Address Bar", it is required to have some text formatted with the HTML "< PRE >" and "< /PRE >" tags.

A sample HTML file to try is below...

Note: The "HTML", "BR", and "PRE" ("Angle bracket") tags are not properly showing here so in some cases I had to add a " " (space) after the opening (left) "Angle bracket" in order to get this to display properly. When saving as a test file, reformat without the space after the opening (left) "Angle bracket":

   < html>
   <head>
   <title>FF Reader View Test</title>
   </head>
   <body>
   < br />
   < br />
   Mozilla: <a href=
     "https://support.mozilla.org/en-US/questions/1110151" 
     target="_blank">
     Odd "Reader View" behavior
   </a> < br />
   https://support.mozilla.org/en-US/questions/1110151 < br />
   < br />
   < br />
   < br />
   < pre>
   I was viewing an HTML file that is located on my 
   local hard drive. The page is basically a list of 
   HTML links. 
While viewing the page, I noticed the (gray) "Reader View" icon/control in the "Address Bar", and I clicked the "Reader View" icon.
Here's what happened next: 1) The page display went nearly blank. Along the left edge (vertically), the "Exit Reader View" and "Adjust the text size" icons/controls are shown. Along the top of the page, a border/panel is shown, about 1.5 to 2 cm high. About 1.5 to 2 cm below that, a "largish" rectangle icon with a styled circle inside was shown.
I have attached an image of how this looks.
....

....
< /pre> < br /> < br /> < br /> </body> </html>
I was viewing an HTML file that is located on my local hard drive. The page is basically a list of HTML links. While viewing the page, I noticed the (gray) "Reader View" icon/control in the "Address Bar", and I clicked the "Reader View" icon. Here's what happened next: 1) The page display went nearly blank. * Along the left edge (vertically), the "Exit Reader View" and "Adjust the text size" icons/controls are shown. * Along the top of the page, a border/panel is shown, about 1.5 to 2 cm high. * About 1.5 to 2 cm below that, a "largish" rectangle icon with a styled circle inside was shown. I have attached an image of how this looks. 2) After a short time, probably less than one-half second: * The "Exit Reader View" and "Adjust the text size" icons/controls disappeared. * The border/panel, and the rectangle icon disappeared. 3) At this point, the page was totally blank. 4) I then noticed that the "Address Bar" was totally empty. * The "History" and the "Refresh" icons/controls were shown at the right end of the "Address Bar". * The "Reader View" icon/control was no longer shown. * The URL to the page I was viewing was no longer shown. 5) If I click the "Back" button: * The URL to the page I was viewing is briefly shown in the "Address Bar". * The "Reader View" icon/control is briefly shown in the address bar (Orange). * The above behavior (#1-#4) repeats, and I am back to a blank page display and an empty "Address Bar". If I go further back in the tab "History", I can view my original page. Should I report this as a bug? It would be great if someone else could try this to see if it happens to them, particularly on the current version of Firefox. <br /> <hr /> <br /> The content of the local HTML file is unimportant, but it seems that at least on a fairly small file, in order to get the "Reader View" icon/control to show in the "Address Bar", it is required to have some text formatted with the HTML "< PRE >" and "< /PRE >" tags. A sample HTML file to try is below... Note: The "HTML", "BR", and "PRE" ("Angle bracket") tags are not properly showing here so in some cases I had to add a " " (space) after the opening (left) "Angle bracket" in order to get this to display properly. When saving as a test file, reformat without the space after the opening (left) "Angle bracket": < html> <head> <title>FF Reader View Test</title> </head> <body> < br /> < br /> Mozilla: <a href= "https://support.mozilla.org/en-US/questions/1110151" target="_blank"> Odd "Reader View" behavior </a> < br /> https://support.mozilla.org/en-US/questions/1110151 < br /> < br /> < br /> < br /> < pre> I was viewing an HTML file that is located on my local hard drive. The page is basically a list of HTML links. <br /> While viewing the page, I noticed the (gray) "Reader View" icon/control in the "Address Bar", and I clicked the "Reader View" icon. <br /> Here's what happened next: 1) The page display went nearly blank. Along the left edge (vertically), the "Exit Reader View" and "Adjust the text size" icons/controls are shown. Along the top of the page, a border/panel is shown, about 1.5 to 2 cm high. About 1.5 to 2 cm below that, a "largish" rectangle icon with a styled circle inside was shown. <br /> I have attached an image of how this looks. <br /> .... <br /> <br /> .... <br /> < /pre> < br /> < br /> < br /> </body> </html>
첨부된 스크린샷

글쓴이 ff2fan 수정일시

모든 댓글 (1)

more options

Hi ff2fan, I understand that the reader mode in Firefox is displaying this example html page differently. I am happy to help.

Does it have: < DOCTYPE html/> Did this value reader.parse-on-load.force-enabled change in about:config?

For debugging and filing a bug, see the code here:

The resources for Filing a bug in bugzilla.mozilla.org are listed below:

글쓴이 guigs 수정일시