La séance de questions et réponses d’aujourd’hui nous est offerte par SuperUser, une sous-division de Stack Exchange, un groupe de sites Web de questions-réponses dirigé par la communauté.
La question
Le lecteur superutilisateur xypha souhaite savoir s’il existe un moyen de forcer l’activation de la vue Lecteur dans Mozilla Firefox:
My initial query was, “What determines if a webpage can or cannot be displayed in Reader View in Mozilla Firefox?”, but I found the answer in a Webmasters StackExchange Q&A post.
As I understand it, websites that do not automatically show the option to enable Reader View have a problem with their code, tags, html, etc. The Mozilla Firefox support webpage for Reader View suggests something similar:
If a page is available in Reader View, the Reader View icon will appear in the address bar.
My question is, if the Reader View icon does not appear in the address bar, is there a way to force-enable Reader View on those webpages? I visited this discussion on Reddit, but it did not answer my question.
I am not sure an addon will provide a solution. Maybe this can be done with a script, a Mozilla Firefox setting in about:config, or something else entirely?
Existe-t-il un moyen d'activer de force la vue Lecteur dans Mozilla Firefox?
La réponse
Un contributeur de SuperUser, someusername, a la réponse pour nous:
You can try installing this extension that will force-enable Reader View even if the icon is not displayed.
This addon adds a button to the toolbar. Clicking on it activates the Reader View feature even if the icon in the address bar is not present. Technically, this addon prepends “about:reader?url=” to the current tab’s address.
Alternatively, you can use Reader View on any website. In the address bar type:
about:reader?url=
And replace with the one you want.
If you use Pentadactyl, you can create a command:
:command reader execute “open about:reader?url=” + content.location.href (And then you type:reader to get the Reader View)
And with a key shortcut:
:nmap:reader (A simple Ctrl+R and that is it)
Avez-vous quelque chose à ajouter à l'explication? Sound off dans les commentaires. Voulez-vous lire plus de réponses d'autres utilisateurs de Stack Exchange doués en technologie? Découvrez le fil de discussion complet ici.