How blockchain hides it s HTML source

0 votes
When you navigate to blockchain website,

You will notice that if you click view-source on the page, it will show HTML context different than that when you inspect-element. My question is, how are they doing this?

I understand they are using .pug templates from AngularJS framework. But how does my browser know where to read them from if they are not loaded from the client-(browser)-side?
Jul 17, 2018 in Blockchain by Johnathon
• 9,090 points
1,208 views

1 answer to this question.

0 votes

When you click View Source, you see what the server sends back. Many pages do not send back a full HTML page, instead some skeleton HTML and add the rest of the functionality via JavaScript When you Inspect Element, you're viewing the browser's representation of the DOM, which includes any manipulations done via JavaScript. For a visual explanation, see this article on css-tricks: https://css-tricks.com/dom/

answered Jul 17, 2018 by Shashank
• 10,400 points

Related Questions In Blockchain

+4 votes
4 answers

How does the blockchain verification process work?

First of all, when someone creates a ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points
2,760 views
+1 vote
1 answer

How blockchain node behaves upon receiving a new block when previous block wasn't acquired?

A node will ask for block number ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points
1,609 views
0 votes
1 answer

How to make sure transactions take no fee in a private Ethereum blockchain?

In a private ethereum network you have ...READ MORE

answered Mar 26, 2018 in Blockchain by Christine
• 15,790 points

edited Mar 26, 2018 by Christine 1,567 views
0 votes
1 answer

How can i read headers of blockchain in multichain?

You could use a recent feature known ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points
735 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,922 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,426 views
+1 vote
1 answer

How is Blockchain used for provenance purposes?

Let me tell you how Blockchain could ...READ MORE

answered Apr 4, 2018 in Blockchain by Shashank
• 10,400 points
654 views
+1 vote
1 answer

Can a data be altered in a blockchain without changing its hash?

Yes, it should work. The authentication practice ...READ MORE

answered Apr 8, 2018 in Blockchain by Shashank
• 10,400 points
893 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP