Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome cannot auto wrap lines in view-source:// after update to v87.0.4280.67 [closed]

Before I updating chrome, when I go to view-source:// of Chrome, It'll auto wrap line(so there'is no horizontal scrollbar).But after I updating Chrome to v87.0.4280.67,It shows horizontal scrollbar and most sites(see vue/react build html in one line) show one line in source code.

How can I make Chrome show html in view-source:// auto wrap lines, without horizontal scrollbar.

like image 318
Finn Avatar asked Dec 03 '20 01:12

Finn


People also ask

How do I turn on word wrap in Chrome?

Press Ctrl + U on the keyboard to open the page source tab. Alternatively, right-click anywhere on the page and select View page source from the menu. On the view-source tab, turn on (check) the Line Wrap option.

What is Line Wrap in source code?

The Line Wrap feature is now available in the desktop version of Google Chrome and Microsoft Edge browser. It provides you the ability to see the source code for any web page you want. In other words, you can say this feature allows to use of the line wrap option while inspecting the source code of a web page.


1 Answers

I suggest you 4 solutions:

1-Use view-current-source extension on chrome: https://chrome.google.com/webstore/detail/view-current-source/bloebkffnmchginelkmdcemamcdeamei?hl=en

2-downgrade to older chrome version : https://community.progress.com/s/article/How-to-downgrade-to-an-Older-version-of-Chrome

3-wait for next version.

4-try to find related option(if exist) in chrome://settings or chrome://flags At your own risk.I could not find it.

like image 183
Msd.Abd Avatar answered Oct 18 '22 04:10

Msd.Abd