Is this possible to do? I intend to extract those files and change all coding to make it my own. Its meant for a static website.
-
1This is not really Reverse Engineering question, voted to close. Anyway, press Ctrl+S on your favorite browser and choose Complete Webpage. – Megabeets Nov 07 '17 at 13:56
1 Answers
If what you see rendered on the page is sufficient, then just save the complete page via your browser and modify what you want changed.
If you want to be more granular about seeing what the page is pulling in, press F12 in your browser to bring up the developer tools. The "Sources" tab will show you files that are being loaded and from where. This can help you avoid keeping junk/irrelevant files, like analytics JS files, etc.
If you click on the "Network" tab and refresh the page, you can see the order and timing of everything loading.
Reversing functionality from dynamic pages can be exponentially more difficult (see: impossible). Implementations like Angular create a black box that stores a lot of functionality server-side, so if you wanted to save, say, the functionality of the live-update notification icon from YouTube, you won't be able to do that using just what's rendered on the client side.
This is where reverse engineering really does come into play. You can learn a lot about how a page/site works via the browser's developer tools, but taking it to the next step, you're going to want to use tools like Wireshark or Fiddler to capture packets and inspect data more thoroughly (if you can; the data may be encrypted).
If a site is based on a platform like WordPress, then there are likely breadcrumbs in the code that will hint at either the theme the site is based on, plugins being utilized, etc.
Conclusion: Your question is far more broad than you think (which isn't your fault because you don't know any better), but if the page you're interested in has no dynamically-updating content and its static form is truly enough for you, then saving the complete page via your browser should be sufficient. That, or use an application like HTTrack or Web2Disk for something a bit more thorough that can crawl a page/site and nab more resources than a browser will render.
- 2,234
- 10
- 18