How does Firefox reader view operate

前端 未结 3 1017
深忆病人
深忆病人 2020-12-04 08:40

Summary

I am looking for the criteria by which I can create a webpage and be [fairly] sure it will appear in the Firefox

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 09:06

    You need at least one

    tag around the text, that you want to see in Reader View, and at least 516 characters in 7 words inside the text.

    for example this will trigger the ReaderView:

    
    

    123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 123456789 123456

    See my example at https://stackoverflow.com/a/30750212/1069083

提交回复
热议问题