开发者

how does Gmail hide its source

开发者 https://www.devze.com 2023-02-04 15:08 出处:网络
I just saw something odd, I\'m using Google Chrome browser and I right clicked a tab with GMAIL open and selected to 开发者_JS百科view the source. All I had returned was :

I just saw something odd, I'm using Google Chrome browser and I right clicked a tab with GMAIL open and selected to 开发者_JS百科view the source. All I had returned was :

<!DOCTYPE html><html><head></head><body><div></div></body></html>

How would they have managed to do this ? I didn't think was possible ??


Because gmail is built with javascript it will also build the page dynamically after it is loaded with javascript.

gmail also uses a lot of iframes, you can have a look at the conent of those by inspecting them with Firebug for Firefox


I don't think it is possible. Did you use Tools -> View Source in the menu? It shows a lot with me. Maybe you clicked in an iframe?


depends where you click ... (you clicked in an iframe which is empty, and content is loaded with javascript from other frames...)

If you go to the options -> tools -> view source you will see the main frame and its code..

0

精彩评论

暂无评论...
验证码 换一张
取 消