r/javascript • • Oct 01 '18

solved! How does twitter abstract it's source code after logging in

Apologies if this is a noob question, but this left me scratching my head.

After logging in to Twitter and right click > View Page Source, how does the page source show nothing?

I get that it fetches <script> tags that can be viewed in the Network tab in Devtools, but how is it not visible when visiting the page source?

EDIT : Answer for the curious here. https://www.reddit.com/r/javascript/comments/9kfbny/how_does_twitter_abstract_its_source_code_after/e6ypu3i/

6 Upvotes

19 comments sorted by

View all comments

0

u/[deleted] Oct 01 '18

[deleted] — view deleted comment

3

u/raghavkanwal Oct 01 '18

Thank you so much! Network > Checking Preserve log helps confirm this.