How to view the source of currently displayed html page(dynamically) than the original page? [duplicate]

倾然丶 夕夏残阳落幕 提交于 2019-12-12 11:23:41

问题


G'day everybody, As an avid firefox user, I use plugins like stylish and Greasemonkey to modify default styles of pages. However the view->page source option of the browser shows only the page in its original form and not the current form after it is manipulated by a script or a style. Is there any way i can view the source of a page based on what is displayed on the browser and not the original page sent by the server?. Any suggestions would be much be appreciated. Thanks.

paul bullard


回答1:


Use Firebug...

Firebug allows you to inspect the current DOM, CSS and loaded JavaScripts on the fly.

You can also modify anything on the current document and see the results automatically.




回答2:


Firebug is option for the Mozilla FireFox. There is IE developer tool-bar for IE users. Almost all browser now a days come with the view source tool or plugin.

Chrome has its debugging tool you can use Firebug for IE, chrome, FIrefox it has provided plugin for all these popular browsers. Please refer its site



来源:https://stackoverflow.com/questions/1204482/how-to-view-the-source-of-currently-displayed-html-pagedynamically-than-the-or

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!