Windows-приложение для просмотра удаленной веб-страницы в виде дерева HTML / XML?

273
OverTheRainbow

Мне было интересно, есть ли приложение для Windows, которое может взять URL, загрузить страницу и отобразить ее структуру в виде дерева HTML / XML.

Я имею в виду это, но без необходимости сначала загружать страницу в локальный файл: Windows-приложение для просмотра удаленной веб-страницы в виде дерева HTML / XML?

Спасибо.

-2
Привет, рекомендации по программному обеспечению не по теме здесь. Вы, вероятно, можете [отредактировать] этот вопрос и сформулировать его по-другому, чтобы спросить, что вам нужно, не запрашивая заявление. Paul 8 лет назад 0

1 ответ на вопрос

1
pyrocrasty
  • You can view the source of a page in your browser, generally using built-in developer tools. For example, in Firefox, go to Tools->Web Developer->Inspector. Most browsers have similar tools. You can also download extensions for this.

  • You can use a bookmarklet to format the source of a page. Eg.

    • the Snoopy bookmarklet. This doesn't give you a collapsible tree, though.
    • the View Source Chart bookmarklet (tab or iframe version) will pretty print the tree in nested boxes which you can collapse/expand by clicking on them.
  • If you're interested in inspecting a page's HTML, you may also be interested in other bookmarklets that let you inspect the DOM. For instance, Slayer Office DOM Inspector lets you mouse over elements of the page to inspect the corresponding HTML element's attributes, parents, children, etc.