Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

View source of webpage in plain text (without formatting or links)

  • 2 réponses
  • 1 a ce problème
  • 9 vues
  • Dernière réponse par cor-el

more options

I love the view source option integrated into firefox, but often times I also like to view the source as a plain text. Up until Version 43, I could always just "view source" twice, and be in plain text mode. Granted, it cheesed the URL by adding view-source:view-source:http://webpage.com Now that Version 43 is out, this menu option is grayed out, and I am no longer able to view as a plain text without manually typing view-source: into the url.

I have downgraded back to 42 for the meantime, but I am curious as to how to choose in the options or about:config the option or choice to view source of html pages in plain text instead of the rich text with hyperlinks in a tab. Or how I can re-enable the view source twice option.

Best reguards

I love the view source option integrated into firefox, but often times I also like to view the source as a plain text. Up until Version 43, I could always just "view source" twice, and be in plain text mode. Granted, it cheesed the URL by adding view-source:view-source:http://webpage.com Now that Version 43 is out, this menu option is grayed out, and I am no longer able to view as a plain text without manually typing view-source: into the url. I have downgraded back to 42 for the meantime, but I am curious as to how to choose in the options or about:config the option or choice to view source of html pages in plain text instead of the rich text with hyperlinks in a tab. Or how I can re-enable the view source twice option. Best reguards

Toutes les réponses (2)

more options

There is a pref in about:config named view_source.tab that you can double-click to toggle to false to have the old Page Source window back.

That option probably won't be around too long; I suspect it is only a temporary pref.

https://support.mozilla.org/en-US/kb/about-config-editor-firefox

more options

You can disable highlighting and formatting via the right-click context menu if view_source.tab is true to view the source in a tab.

If you want to disable formatting links then you would have to set viewing the page source in a standalone window by setting view_source.tab to false on the about:config page and use the view-source: protocol to view the page source in a tab. Then you can right-click this page to view the source in a standalone window. View Page Source is only enabled in the right-click context menu when view_source.tab = false and toggling this pref is sufficient, so you could consider to use an extension like PrefBar to toggle the view_source.tab to pref to false to be able to view the not formatted page source and leave it normally at true.