To view a web page as text only is a simple matter of stripping all the html tags from the web page. This essentially removes the glue that holds the web page together and formats its appearance so after executing this Javascript code you are left with text only on the web page.
Click the View Web Page as Text Only
button to strip all the html tags from this web page and view a text only version of this web page.
After clicking the above button, press the F5
key on your keyboard to refresh this page and view it normally again.
One thing you might notice is although the web page is text only, the css style code text still shows and this is somewhat distracting and not 100% what we are looking for.
To remove all the code between style tags we want to add the code .replace(/<style([\S\s]*?)>([\S\s]*?)<\/style>/g, '')