You will need
- - disassembler.
View the source code of a program using its source code. A source file contains code written by the programmer when creating software, then it is compiled with a special instrumentow and transformed into an installation file.
If you have lost the source code, or is it inaccessible to you for other reasons, take advantage of special programs-Decompiler software. There are also program-disassembler. Please note that viewing the source code can often become impossible in cases where you do not know which programming language was used in its development.
If you want to find the code of a free program, do a search on the Internet with your request. Also, try to download this program and in the menu find the option "View source code". Usually it is available for freely distributed programs.
Be careful when using them, in particular this applies to programs not downloaded from the developer's site, since the source can be planted malicious code that when installed on your computer also installs Trojans, keyloggers and so on.
Be careful when using software Decompiler software, as many software developers use special programs that make the process of recreating the source code. If the program was written in assembler, also accepted a special program.
Tools back software quite a lot, do not use them for fraudulent purposes or to make changes in the programs with the closed code, because often these actions are a liability in accordance with the law.
Browse code locked programs, and especially not modify it.
Advice 2: How to see code of website
The ability to view the source code of different sites can be very useful for self-creation of the website. You can see the HTML-code using special settings and advanced browser extension and a program to view text files.
You will need
- program browser;
- program Notepad.
Find in browser menu item "Source code." For example, in the program Mozilla Firefox it can be found under "Web development", which is located in the "Tools" main menu and in Internet Explorer the call to html view is from the "View" main menu. Go to the website that you would like to study. After the page has loaded, select the tool "Source code." The program displays a special window where you will see the code. If the page content is not displayed correctly, try changing the encoding.
Standard functions of the browser can be extended via plugin. Often on the website of the developer program, you can find an extension that allows you to view the site code. For example, a plugin for Mozilla Firefox called Firebug, browser Opera – DragonFly. Download and install the plugin. It is possible, you will need to restart the browser. Next, go to the right site. Click on the console key plugin - this can be on one of the panels at the program - then an additional window appears, displaying the source code of the open page.
Save the required page by using the corresponding functions of the browser. To do this, click on the menu item "File" and select the label "Save as". Select a location on your computer where you save a copy of the page. Then in the dropdown menu called "file Type" select "Web page, completely" or "Web page, HTML only". Click on "Save". Repeat the procedure with all required pages of the online resource. Open the folder where you saved the file. Select one of the pages and run it with the program Notepad. You can use application installed on a Windows operating system utility "Notepad", but it is better to download a more convenient Notepad++. It has the function of separating different types of html tags by color.
Advice 3: How to view page source
Consider how to determine the source code page, because this parameter is very important when working online. If you need any news, tags, or picture, but as it is occasionally you do not know, you can always copy information from another site, knowing the source code of the page, if it is not forcodedevelopers focus website. Important source code in a page-oriented files that are not programs, with source codeand you can work with it and edit them.
You will need
- Instruction for viewing the source code of the page.
Page to be visible, it's written from the source codeom. Fill it with codeω is possible, if you are the owner of the resource, or edit with Notepad, editor, using special extensions. The user can also change the page by editing the file and making the page your changes. Internet browsers can view the source codeand by using different commands, consider them in detail.
For Internet Explorer, choose the tab "view" then "source code page" or you can select by clicking on the right mouse button. To view encrypted developers code in the browser go to the menu "tools" then "developer tools", click the arrow, select the element on the page and code to become visible. Then click on icon and save code in text format and copy of its components to html.
Mozilla Firefox provides the ability to view with a simple command "Ctrl+U" or in menu "tools" select substring "view source code". To view the encrypted information in Mozilla Firefox you need to install a special extension Web Developer, select the menu "code" the string "generirovanie code" and at the bottom of the page appears the value of the original code. Copy the file to the clipboard or saved with the extension page.htm.
When using Google Chrome in the main menu "tools" select the substring "view source code", then using the right mouse button to open the "viewing codeand page" or by pressing "Ctrl + U".
To find the source code of the Opera browser in the menu "view" select "development tools" in the menu "source code page" or by using the shortcuts "Ctrl + U".
For Safari, in the menu find the "view htmlcode", just click the right mouse button, open the substring "view source" or use the shortcut key "Ctrl + Alt + U".
The ability to view encrypted information about the source code is performed by using two browsers.
If you are not a developer site, edit page, you can only.