Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 odgovori
  • 1 ima ovaj problem
  • 9 views
  • Posljednji odgovor poslao 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

All Replies (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.